gdk-pixbuf: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-02-15 08:06:55 +01:00
parent cf308476ca
commit 2485ddac02

View file

@ -16,10 +16,6 @@ license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=7ace06170291a1f21771552768bace072ecdea9bd4a02f7658939b9a314c40fc
case "${XBPS_TARGET_MACHINE}" in
arm*|aarch64*) broken="https://build.voidlinux.eu/builders/armv6l_builder/builds/941/steps/shell_3/logs/stdio";;
esac
# Package build options
build_options="gir"
@ -31,6 +27,10 @@ fi
pre_configure() {
sed -i '/SUBDIRS/s/tests//' Makefile.am
autoreconf -fi
# Can't create loaders.cache with cross compiled modules
if [ -n "$CROSS_BUILD" ]; then
touch gdk-pixbuf/loaders.cache
fi
}
gdk-pixbuf-xlib_package() {