]> Pileus Git - ~andy/gtk/commit
build: support cross-compilation by natively building gtk-update-icon-cache
authorRoss Burton <ross.burton@intel.com>
Mon, 7 Jan 2013 12:49:27 +0000 (12:49 +0000)
committerRoss Burton <ross.burton@intel.com>
Thu, 10 Jan 2013 15:00:32 +0000 (15:00 +0000)
commit53083ea7b423482b203372f02d097edbef894a7d
tree22f50ca9e5d090c879c65283b1ec4f52a7f18f07
parentbefde1f7de4eda9e9998eb15826a0d8286bfb138
build: support cross-compilation by natively building gtk-update-icon-cache

When cross-compiling, instead of depending on a natively built GTK+ (which means
building Glib, ATK, Pango, gdk-pixbuf, libX11...) for gtk-update-icon-cache,
find the host compiler and gdk-pixbuf, and build another gtk-update-icon-cache
with that.

This uses AX_PROG_CC_FOR_BUILD from autostars to find the host compiler, and
assumes that you'd set PKG_CONFIG_FOR_BUILD to a host pkg-config binary.

https://bugzilla.gnome.org/show_bug.cgi?id=691301
configure.ac
gtk/Makefile.am
gtk/native/Makefile.am [new file with mode: 0644]
m4/ax_prog_cc_for_build.m4 [new file with mode: 0644]