[gtk+] Don't build native tools when not cross-compiling



commit d559ed0ce9bf7f16c70a3a78627a18d0ec9ceb3b
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 1 23:53:59 2013 -0500

    Don't build native tools when not cross-compiling
    
    This was my local native build to fail.

 gtk/native/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/native/Makefile.am b/gtk/native/Makefile.am
index 20416ce..302f055 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]