mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 19:02:57 +02:00
xbps-src: set PKG_CONFIG env var to the triplet-pkg-config wrapper.
This commit is contained in:
parent
734274ebf7
commit
8ddf256957
1 changed files with 4 additions and 5 deletions
|
@ -1,9 +1,8 @@
|
||||||
# This snippet setups pkg-config vars.
|
# This snippet setups pkg-config vars.
|
||||||
|
|
||||||
set -a
|
|
||||||
|
|
||||||
if [ -z "$CHROOT_READY" ]; then
|
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
|
fi
|
||||||
|
|
||||||
set +a
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue