From 6ab69ef1430736ebe28cda9628eccbfebdd6153e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 27 Sep 2014 04:57:20 +0200 Subject: [PATCH] xbps-src: hooks/script-wrapper: create a pkg-config symlink to the real wrapper. ...otherwise the envvars for cross compilation won't be set and lots of packages are broken. --- common/hooks/pre-configure/02-script-wrapper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/hooks/pre-configure/02-script-wrapper.sh b/common/hooks/pre-configure/02-script-wrapper.sh index aa92650bf1..4f9b721212 100644 --- a/common/hooks/pre-configure/02-script-wrapper.sh +++ b/common/hooks/pre-configure/02-script-wrapper.sh @@ -77,6 +77,7 @@ export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/lib/pkgconfig" exec /usr/bin/pkg-config "\$@" _EOF chmod 755 ${WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config + ln -sf ${XBPS_CROSS_TRIPLET}-pkg-config ${WRAPPERDIR}/pkg-config } hook() {