summaryrefslogtreecommitdiff
path: root/util/pkg-config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/pkg-config.sh')
-rwxr-xr-xutil/pkg-config.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/pkg-config.sh b/util/pkg-config.sh
index 94edf7d95..391c1b84b 100755
--- a/util/pkg-config.sh
+++ b/util/pkg-config.sh
@@ -50,6 +50,11 @@ if [[ ${dbpf+@} ]]; then
source "${PKG_BASE}/folders.sh"
fi
+export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}
+export PKG_CONFIG_DIR=${PKG_CONFIG_DIR}
+export PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR}
+export PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR}
+
outs=
for pkg in "${pkgs[@]}"; do
declare -a pkgspec