merge bitcoin#18051: Fix behavior when ALLOW_HOST_PACKAGES unset

This commit is contained in:
Kittywhiskers Van Gogh 2024-01-10 02:09:02 +00:00 committed by pasta
parent 6539191715
commit c2caf384db
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -67,7 +67,7 @@ PKG_CONFIG="$(which pkg-config) --static"
# avoid ruining the cache. Sigh.
export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig
if test -z "@allow_host_packages@"; then
export PKGCONFIG_LIBDIR=
export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig
fi
CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS"