We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pkg-config
1 parent 916bb0d commit 4c4d347Copy full SHA for 4c4d347
cpython-unix/build-cpython.sh
@@ -9,6 +9,12 @@ export ROOT=`pwd`
9
10
export PATH=${TOOLS_PATH}/${TOOLCHAIN}/bin:${TOOLS_PATH}/host/bin:${TOOLS_PATH}/deps/bin:$PATH
11
12
+# Ensure that `pkg-config` (run by CPython's configure script) can find our dependencies
13
+export PKG_CONFIG_PATH=${TOOLS_PATH}/deps/share/pkgconfig:${TOOLS_PATH}/deps/lib/pkgconfig
14
+
15
+# Ensure that `pkg-config` invocations include the static libraries
16
+export PKG_CONFIG="pkg-config --static"
17
18
# configure somehow has problems locating llvm-profdata even though it is in
19
# PATH. The macro it is using allows us to specify its path via an
20
# environment variable.
0 commit comments