summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2011-02-07 12:13:13 -0200
committerJohan Dahlin <jdahlin@litl.com>2011-02-07 12:13:13 -0200
commite8529ca294f2a64ee97cc87e369d1d1fe92d2560 (patch)
treecff32321add52ee647233240247f849d4b9215a6 /gdk-pixbuf
parent93a36b055bb42837cb271e0e4db54e940e331cc8 (diff)
downloadgdk-pixbuf-e8529ca294f2a64ee97cc87e369d1d1fe92d2560.tar.gz
Do not include backend API in the gir
We don't want GdkPixbufModule and friends exported in the backend module, so make sure GDK_PIXBUF_ENABLE_BACKEND isn't defined
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/gdk-pixbuf/Makefile.am b/gdk-pixbuf/Makefile.am
index 21e77ec02..c9e8f33ea 100644
--- a/gdk-pixbuf/Makefile.am
+++ b/gdk-pixbuf/Makefile.am
@@ -693,7 +693,12 @@ GdkPixbuf_2_0_gir_SCANNERFLAGS = --warn-all --strip-prefix=Gdk --c-include="gdk-
GdkPixbuf_2_0_gir_EXPORT_PACKAGES = gdk-pixbuf-2.0
GdkPixbuf_2_0_gir_INCLUDES = GModule-2.0 Gio-2.0
GdkPixbuf_2_0_gir_LIBS = libgdk_pixbuf-2.0.la
-GdkPixbuf_2_0_gir_CFLAGS = $(INCLUDES)
+GdkPixbuf_2_0_gir_CFLAGS = \
+ -DGDK_PIXBUF_COMPILATION \
+ -I$(top_srcdir) -I$(top_builddir) \
+ -I$(top_srcdir)/gdk-pixbuf \
+ -I$(top_builddir)/gdk-pixbuf \
+ $(GDK_PIXBUF_DEP_CFLAGS)
GdkPixbuf_2_0_gir_FILES = \
$(libgdk_pixbufinclude_HEADERS) \
$(libgdk_pixbuf_2_0_la_SOURCES)