gimp: fix cross builds
gimp was calling pkg-config assuming that it won't be a wrapper for cross builds, which resulted in cross flags getting leaked into native tools.
This commit is contained in:
parent
8a4edd90db
commit
d1ad03a3c4
|
@ -21,14 +21,12 @@ checksum=65bfe111e8eebffd3dde3016ccb507f9948d2663d9497cb438d9bb609e11d716
|
|||
python_version=2 #unverified
|
||||
lib32disabled=yes
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*) nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/24795/steps/shell_3/logs/stdio" ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
NOCONFIGURE=1 autoreconf -fi
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i 's:^py_prefix=`:py_prefix='"$XBPS_CROSS_BASE"'`:' configure
|
||||
rm "${XBPS_WRAPPERDIR}/pkg-config"
|
||||
export PKG_CONFIG="${XBPS_WRAPPERDIR}/${XBPS_CROSS_TRIPLET}-pkg-config"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue