aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwrappers/cross-pkg-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/wrappers/cross-pkg-config b/wrappers/cross-pkg-config
index e7a234c..d569bb9 100755
--- a/wrappers/cross-pkg-config
+++ b/wrappers/cross-pkg-config
@@ -99,7 +99,8 @@ export PKG_CONFIG_LIBDIR="${SYSROOT}/usr/${libdir}/pkgconfig:${SYSROOT}/usr/shar
if [ -n "${EXTRA_PKG_CONFIG_LIBDIR}" ] ; then
PKG_CONFIG_LIBDIR="${EXTRA_PKG_CONFIG_LIBDIR}:${PKG_CONFIG_LIBDIR}"
fi
-export PKG_CONFIG_SYSROOT_DIR="${SYSROOT}"
+: ${PKG_CONFIG_SYSROOT_DIR=${SYSROOT}}
+export PKG_CONFIG_SYSROOT_DIR
#
# Sanity check the output to catch common errors that do not