aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-02-01 13:32:32 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-02-01 13:32:32 +0200
commit0e519fe28425b0148fe0d026bd084ecd244f5669 (patch)
tree3ea8a9a33ce4b4306cc1c6d59e626932a34d870f /depends
parentf05c1ac444e0c893516535bfdf07c5c8cd9bce16 (diff)
build: Fix behavior when ALLOW_HOST_PACKAGES unset
Diffstat (limited to 'depends')
-rw-r--r--depends/config.site.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/config.site.in b/depends/config.site.in
index c5731e5269..fb9bf713cc 100644
--- a/depends/config.site.in
+++ b/depends/config.site.in
@@ -59,7 +59,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"