summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-03-11 08:01:27 -0500
committerDavid Zeuthen <davidz@redhat.com>2011-03-11 08:01:27 -0500
commitc29a6fd701df08e10e384cce65356af9a5a559f3 (patch)
tree30ece5a1fa22e8637674964c8debcf13c4f2ca93
parentb69f848d2a47fe30e72fe489739177927df6689f (diff)
downloadpolkit-c29a6fd701df08e10e384cce65356af9a5a559f3.tar.gz
introspection: Add --c-include to the gir files
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/polkit/Makefile.am1
-rw-r--r--src/polkitagent/Makefile.am1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/polkit/Makefile.am b/src/polkit/Makefile.am
index 5876b81..3dd3166 100644
--- a/src/polkit/Makefile.am
+++ b/src/polkit/Makefile.am
@@ -110,6 +110,7 @@ Polkit-1.0.gir: libpolkit-gobject-1.la $(INTROSPECTION_SCANNER) Makefile.am
--pkg=gobject-2.0 \
--pkg=gio-2.0 \
--libtool=$(top_builddir)/libtool \
+ --c-include='polkit/polkit.h' \
-I$(top_srcdir)/src \
-D_POLKIT_COMPILATION \
$(libpolkit_gobject_1_la_SOURCES) \
diff --git a/src/polkitagent/Makefile.am b/src/polkitagent/Makefile.am
index e6caabb..e2f1550 100644
--- a/src/polkitagent/Makefile.am
+++ b/src/polkitagent/Makefile.am
@@ -120,6 +120,7 @@ PolkitAgent-1.0.gir: libpolkit-agent-1.la $(INTROSPECTION_SCANNER) Makefile.am
--pkg=glib-2.0 \
--pkg=gobject-2.0 \
--pkg=gio-2.0 \
+ --c-include='polkitagent/polkitagent.h' \
--libtool=$(top_builddir)/libtool \
-I$(top_srcdir)/src \
-D_POLKIT_COMPILATION \