mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 05:57:59 +01:00
build: Fix behavior when ALLOW_HOST_PACKAGES unset
This commit is contained in:
@@ -59,7 +59,7 @@ PKG_CONFIG="`which pkg-config` --static"
|
|||||||
# avoid ruining the cache. Sigh.
|
# avoid ruining the cache. Sigh.
|
||||||
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
|
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
|
||||||
if test -z "@allow_host_packages@"; then
|
if test -z "@allow_host_packages@"; then
|
||||||
export PKGCONFIG_LIBDIR=
|
export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
|
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"
|
||||||
|
|||||||
Reference in New Issue
Block a user