From d559ed0ce9bf7f16c70a3a78627a18d0ec9ceb3b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Feb 2013 23:53:59 -0500 Subject: [PATCH] Don't build native tools when not cross-compiling This was my local native build to fail. --- gtk/native/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/native/Makefile.am b/gtk/native/Makefile.am index 20416ce00f..302f0554a9 100644 --- a/gtk/native/Makefile.am +++ b/gtk/native/Makefile.am @@ -4,11 +4,13 @@ CPP = @CPP_FOR_BUILD@ CPPFLAGS = @CPPFLAGS_FOR_BUILD@ LDFLAGS = @LDFLAGS_FOR_BUILD@ +if CROSS_COMPILING if !USE_EXTERNAL_ICON_CACHE 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 +endif -include $(top_srcdir)/git.mk