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
This commit is contained in:
Pavel Holejsovsky 2012-03-23 07:09:02 +01:00
parent 7e778aa033
commit 94116aec8e

View File

@ -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)