-DGLIB_COMPILATION when scanning GLib
authorColin Walters <walters@verbum.org>
Sun, 16 Aug 2009 00:15:43 +0000 (20:15 -0400)
committerColin Walters <walters@verbum.org>
Sun, 16 Aug 2009 00:19:33 +0000 (20:19 -0400)
Some of the GLib headers are now growing checks for single-include;
override that.

gir/Makefile.am

index ab8c2c87023715d5a53d56af9abf1ca22657ba41..c21b9860d13c48b9d337d8791de79e7233d4fce4 100644 (file)
@@ -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