summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-08-15 20:15:43 -0400
committerColin Walters <walters@verbum.org>2009-08-15 20:19:33 -0400
commit65a36a3bdbc161e9fefe997b07b22bcd4c552c86 (patch)
treea49238c4352c79ed18ad904650c3c6d92e866993
parentada09ae5027c16d75050bdfb70074e1e6ad880b6 (diff)
downloadgobject-introspection-65a36a3bdbc161e9fefe997b07b22bcd4c552c86.tar.gz
-DGLIB_COMPILATION when scanning GLib
Some of the GLib headers are now growing checks for single-include; override that.
-rw-r--r--gir/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am
index ab8c2c87..c21b9860 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -43,6 +43,7 @@ GLib-2.0.gir: $(SCANNER_BIN) $(SCANNER_LIBS) Makefile glib-2.0.c
-D__G_I18N_LIB_H__ \
$(GLIB_LIBDIR)/glib-2.0/include/glibconfig.h \
$(srcdir)/glib-2.0.c \
+ -DGLIB_COMPILATION \
$(GLIB_INCLUDEDIR)/glib/*.h
$(SCANNER) $(SCANNER_ARGS) \
--xpath-assertions=$(srcdir)/GLib-2.0.xpath GLib-2.0.gir