summaryrefslogtreecommitdiff
path: root/rest-extras
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-06-15 12:22:38 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-06-16 11:06:00 +0200
commitb1c568650ab4967db506e1c618a9950a959dabb3 (patch)
treebbb5cafda19d63f6e98c3e8e5c107eec296185d1 /rest-extras
parent7ca54a3faae13ae505e521182a8c368fe4c619a9 (diff)
introspection: add info about C headers to use
vapigen needs this information to be able to generate correct .vapi files. https://bugzilla.gnome.org/show_bug.cgi?id=678153
Diffstat (limited to 'rest-extras')
-rw-r--r--rest-extras/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest-extras/Makefile.am b/rest-extras/Makefile.am
index fd0858e..dbf4fae 100644
--- a/rest-extras/Makefile.am
+++ b/rest-extras/Makefile.am
@@ -52,6 +52,9 @@ INTROSPECTION_GIRS = RestExtras-@API_VERSION@.gir
INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/rest --identifier-prefix=
INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/rest
+REST_EXTRAS_CINCLUDES=$(patsubst %,--c-include='rest/%',$(shell echo $(lib_headers)))
+INTROSPECTION_SCANNER_ARGS += $(REST_EXTRAS_CINCLUDES)
+
RestExtras-@API_VERSION@.gir: librest-extras-@API_VERSION@.la Makefile
RestExtras_@API_VERSION_AM@_gir_NAMESPACE = RestExtras