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:
parent
4cfe9c5cc6
commit
f7146ea652
|
@ -3,6 +3,3 @@
|
||||||
if [ -z "$CHROOT_READY" ]; then
|
if [ -z "$CHROOT_READY" ]; then
|
||||||
export PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig"
|
export PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig"
|
||||||
fi
|
fi
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
|
||||||
export PKG_CONFIG="${XBPS_CROSS_TRIPLET}-pkg-config"
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Reference in New Issue