xbps-src: set PKG_CONFIG env var to the triplet-pkg-config wrapper.
This commit is contained in:
parent
734274ebf7
commit
8ddf256957
|
@ -1,9 +1,8 @@
|
|||
# This snippet setups pkg-config vars.
|
||||
|
||||
set -a
|
||||
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
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
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
export PKG_CONFIG="${XBPS_CROSS_TRIPLET}-pkg-config"
|
||||
fi
|
||||
|
||||
set +a
|
||||
|
|
Loading…
Reference in New Issue