aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-07-23 23:31:01 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-07-27 10:07:34 +0100
commitb9f06bf05b67239cea80998a747f73a2ed3e7be6 (patch)
tree2668ca9df000c4d01c2291dafc497980764a4570 /depends
parent194f6dc43ccc330a8a4607be3a2b8935490d6db0 (diff)
build: Do not export `PKG_CONFIG_{PATH|LIBDIR}` variables
Diffstat (limited to 'depends')
-rw-r--r--depends/config.site.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/depends/config.site.in b/depends/config.site.in
index f7e770343c..8f6849214d 100644
--- a/depends/config.site.in
+++ b/depends/config.site.in
@@ -84,12 +84,9 @@ fi
PKG_CONFIG="$(which pkg-config) --static"
-# These two need to remain exported because pkg-config does not see them
-# otherwise. That means they must be unexported at the end of configure.ac to
-# avoid ruining the cache. Sigh.
-export PKG_CONFIG_PATH="${depends_prefix}/share/pkgconfig:${depends_prefix}/lib/pkgconfig"
+PKG_CONFIG_PATH="${depends_prefix}/share/pkgconfig:${depends_prefix}/lib/pkgconfig"
if test -z "@allow_host_packages@"; then
- export PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
+ PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
fi
CPPFLAGS="-I${depends_prefix}/include/ ${CPPFLAGS}"