forked from AuroraMiddleware/gtk
53083ea7b4
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
13 lines
386 B
Makefile
13 lines
386 B
Makefile
CC = @CC_FOR_BUILD@
|
|
CFLAGS = @CFLAGS_FOR_BUILD@
|
|
CPP = @CPP_FOR_BUILD@
|
|
CPPFLAGS = @CPPFLAGS_FOR_BUILD@
|
|
LDFLAGS = @LDFLAGS_FOR_BUILD@
|
|
|
|
if CROSS_COMPILING
|
|
noinst_PROGRAMS = native-update-icon-cache
|
|
native_update_icon_cache_CFLAGS = $(NATIVE_GDKPIXBUF_CFLAGS)
|
|
native_update_icon_cache_LDADD = $(NATIVE_GDKPIXBUF_LIBS)
|
|
native_update_icon_cache_SOURCES = $(srcdir)/../updateiconcache.c
|
|
endif
|