From d8f7d1a8d6a45847f1a3619310070e5147404ee6 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Thu, 21 Jan 2016 00:07:05 +0100 Subject: [PATCH] common/hooks/pre-configure: fix script wrapper pkgconfig paths. --- common/hooks/pre-configure/02-script-wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh index 9811c192910..14bec2fe37f 100644 --- a/common/hooks/pre-configure/02-script-wrapper.sh +++ b/common/hooks/pre-configure/02-script-wrapper.sh @@ -70,8 +70,8 @@ pkgconfig_wrapper() { #!/bin/sh export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE" -export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}" -export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}" +export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig:$XBPS_CROSS_BASE/usr/share/pkgconfig\${PKG_CONFIG_PATH:+:\${PKG_CONFIG_PATH}}" +export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig\${PKG_CONFIG_LIBDIR:+:\${PKG_CONFIG_LIBDIR}}" exec /usr/bin/pkg-config "\$@" _EOF chmod 755 ${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config