summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-01-11 14:02:58 +0100
committerBenjamin Otte <otte@redhat.com>2011-01-11 15:10:33 +0100
commit3f8629d719a43332d9ac31d706920d0bec8746f4 (patch)
tree26dca24f69d7c19e1aa3a1c0fef6d0089f8cedbc
parent88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2 (diff)
downloadgobject-introspection-3f8629d719a43332d9ac31d706920d0bec8746f4.tar.gz
gir: Fix build of Gio-2.0.gir
- include gio-unix headers properly into Gio gir - don't include gsettingsbackend.h
-rw-r--r--Makefile-gir.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile-gir.am b/Makefile-gir.am
index 4798a79a..5751f801 100644
--- a/Makefile-gir.am
+++ b/Makefile-gir.am
@@ -155,6 +155,7 @@ else
GIO_UNIX_HDRS=
GIO_UNIX_PACKAGES =
endif
+GIO_CINCLUDES=$(patsubst %,--c-include='%',$(shell echo $(GIO_UNIX_HDRS)))
Gio-2.0.gir: GObject-2.0.gir
@@ -165,6 +166,7 @@ Gio_2_0_gir_SCANNERFLAGS = \
--warn-all \
--identifier-prefix=G \
--c-include="gio/gio.h" \
+ $(GIO_CINCLUDES) \
--add-include-path=. \
$(Gio_2_0_gir_DOCSRC)
@@ -175,7 +177,7 @@ Gio_2_0_gir_CFLAGS = \
-I$(GIO_LIBDIR)/glib-2.0/include
Gio_2_0_gir_FILES = \
$(GIO_UNIX_HDRS) \
- $(GIO_INCLUDEDIR)/gio/*.h \
+ $(filter-out %/gsettingsbackend.h, $(shell echo $(GIO_INCLUDEDIR)/gio/*.h)) \
gir/gio-2.0.c
BUILT_GIRSOURCES += Gio-2.0.gir