environment/pkg-config: unset PKG_CONFIG; find it via PATH instead.

... otherwise some pkgs fail to build due to host vs target (gtk+3).
This commit is contained in:
Juan RP 2014-09-28 08:01:18 +02:00
parent 4cfe9c5cc6
commit f7146ea652
1 changed files with 0 additions and 3 deletions

View File

@ -3,6 +3,3 @@
if [ -z "$CHROOT_READY" ]; then
export PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig"
fi
if [ -n "$CROSS_BUILD" ]; then
export PKG_CONFIG="${XBPS_CROSS_TRIPLET}-pkg-config"
fi