void-packages/common/environment/configure/pkg-config.sh
Juan RP f7146ea652 environment/pkg-config: unset PKG_CONFIG; find it via PATH instead.
... otherwise some pkgs fail to build due to host vs target (gtk+3).
2014-09-28 08:01:18 +02:00

5 lines
175 B
Bash

# This snippet setups pkg-config vars.
if [ -z "$CHROOT_READY" ]; then
export PKG_CONFIG_PATH="${XBPS_MASTERDIR}/usr/lib/pkgconfig:${XBPS_MASTERDIR}/usr/share/pkgconfig"
fi