diff --git a/cpython-unix/build-cpython.sh b/cpython-unix/build-cpython.sh index 31536f3a..bdfb0112 100755 --- a/cpython-unix/build-cpython.sh +++ b/cpython-unix/build-cpython.sh @@ -7,7 +7,14 @@ set -ex export ROOT=`pwd` +pkg-config --modversion sqlite3 || echo "sqlite3.pc not found" + export PATH=${TOOLS_PATH}/${TOOLCHAIN}/bin:${TOOLS_PATH}/host/bin:${TOOLS_PATH}/deps/bin:$PATH +export PKG_CONFIG_PATH=${TOOLS_PATH}/deps/share/pkgconfig:${TOOLS_PATH}/deps/lib/pkgconfig + +pkg-config --modversion sqlite3 || echo "sqlite3.pc not found" + +export PKG_CONFIG="pkg-config --static" # configure somehow has problems locating llvm-profdata even though it is in # PATH. The macro it is using allows us to specify its path via an