diff options
author | Halton Huo <halton.huo@sun.com> | 2009-12-23 16:27:40 +0800 |
---|---|---|
committer | Halton Huo <halton.huo@sun.com> | 2009-12-23 16:27:40 +0800 |
commit | 2bab940ad9dd947379188cfa6f5990352660cd25 (patch) | |
tree | 7507a7ec3dc37570e246fe30b5f0cb3b47145dec | |
parent | 804f59f40c027cf1fb2944764adea564dff07678 (diff) | |
download | gobject-introspection-2bab940ad9dd947379188cfa6f5990352660cd25.tar.gz |
Add -DGLIB_COMPILATION for GLib-2.0.gir.
Otherwise, suncc reports error when parsing /usr/include/glib-2.0/glib/ghostutils.h,
and stops parsing rest headers.
https://bugzilla.gnome.org/show_bug.cgi?id=605108
-rw-r--r-- | gir/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gir/Makefile.am b/gir/Makefile.am index db182f8b..d7c32ca8 100644 --- a/gir/Makefile.am +++ b/gir/Makefile.am @@ -36,6 +36,7 @@ GLib_2_0_gir_CFLAGS = $(CPPFLAGS) \ -I$(GLIB_INCLUDEDIR) \ -I$(GLIB_LIBDIR)/glib-2.0/include \ -DGETTEXT_PACKAGE=Dummy \ + -DGLIB_COMPILATION \ -D__G_I18N_LIB_H__ GLib_2_0_gir_ASSERTIONS = $(srcdir)/GLib-2.0.xpath GLib_2_0_gir_FILES = \ |