summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-06 16:40:31 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-07 00:14:57 +0300
commite634a528fa93533eab3681af579b5cb98d5f5e7a (patch)
tree9e7132bc870ea7c7a9bb8644c2bf4bab058d89d6 /gdk-pixbuf
parentb5b085394038b8bd8d322dc693cb8576b5da87cf (diff)
Cross-compilation support for MacOSX
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdk-pixbuf/makefile.mk b/gdk-pixbuf/makefile.mk
index 1e89debb1612..201495d3cc6e 100644
--- a/gdk-pixbuf/makefile.mk
+++ b/gdk-pixbuf/makefile.mk
@@ -64,6 +64,10 @@ CONFIGURE_ACTION=$(AUGMENT_LIBRARY_PATH) \
--with-included-loaders=ani,icns,pcx,ras,tga,png,pnm,wbmp,xbm,xpm,qtif,bmp,gif,ico,jpeg \
--disable-glibtest --without-libtiff --without-libjasper
+.IF "$(CROSS_COMPILING)"=="YES"
+CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no
+.ENDIF
+
BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE)
BUILD_DIR=$(CONFIGURE_DIR)