build: Drop ALLOW_HOST_PACKAGES support in depends

The `ALLOW_HOST_PACKAGES` variable was introduced in bitcoin#10508 "to
speed up build and avoid timeout".

It is no longer the case for our CI infrastructure, which uses self-
hosted persistent workers and depends caching.

In the current circumstances, it does not seem worth porting this
feature to the upcoming CMake-based build system.
This commit is contained in:
Hennadii Stepanov
2024-01-08 14:59:42 +00:00
parent 04b9df0f9f
commit 080763a058
4 changed files with 3 additions and 9 deletions

View File

@@ -89,9 +89,7 @@ fi
PKG_CONFIG="$(which pkg-config) --static"
PKG_CONFIG_PATH="${depends_prefix}/share/pkgconfig:${depends_prefix}/lib/pkgconfig"
if test -z "@allow_host_packages@"; then
PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
fi
PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
CPPFLAGS="-I${depends_prefix}/include/ ${CPPFLAGS}"
LDFLAGS="-L${depends_prefix}/lib ${LDFLAGS}"