[gtk+] Fix sourcedir!=builddir .gir build from source tarball



commit 94116aec8e56e09090c4afa9a0920b41ee06452f
Author: Pavel Holejsovsky <pavel holejsovsky gmail com>
Date:   Fri Mar 23 07:09:02 2012 +0100

    Fix sourcedir!=builddir .gir build from source tarball
    
    Setting -I$(top_builddir) before -I$(top_srcdir) causes that
    g-ir-scanner picks up boxing definitions generated by glib-mkenums.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672133

 gdk/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 6b647e5..c0760f2 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -36,9 +36,9 @@ EXTRA_DIST += 			\
 AM_CPPFLAGS = 				\
 	-DG_LOG_DOMAIN=\"Gdk\"		\
 	-DGDK_COMPILATION		\
-	-I$(top_srcdir)			\
 	-I$(top_builddir)		\
 	-I$(top_builddir)/gdk		\
+	-I$(top_srcdir)			\
 	$(GTK_DEBUG_FLAGS)		\
 	$(GDK_DEP_CFLAGS)
 



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