summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-05-10 13:40:39 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-05-10 14:52:59 +0200
commit16efbde01ada6869c41426af673550bb7ddbebf8 (patch)
treef0baa3e1aafdc4bb1e9782f9ccb1fbcd2729bf0c /Makefile.am
parentab7863f7d74ca1952b6173d2d04ab89f95253fb5 (diff)
configure: reintroduce introspection flags to fix crosscompilation
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 63bd2bf329..651a15455c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -433,6 +433,7 @@ extras/gudev/gudevenumtypes.c: extras/gudev/gudevenumtypes.c.template extras/gud
$(AM_V_GEN)glib-mkenums --template $^ > \
$@.tmp && mv $@.tmp $@
+if ENABLE_INTROSPECTION
extras/gudev/GUdev-1.0.gir: extras/gudev/libgudev-1.0.la $(G_IR_SCANNER) Makefile.am
$(AM_V_GEN)PKG_CONFIG_PATH=$(top_builddir)/data:$$PKG_CONFIG_PATH \
LD_LIBRARY_PATH=$(top_builddir)/extras/gudev:$$LD_LIBRARY_PATH \
@@ -470,6 +471,7 @@ typelibsdir = $(GIRTYPELIBDIR)
typelibs_DATA = extras/gudev/GUdev-1.0.typelib
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
+endif # ENABLE_INTROSPECTION
# move lib from $(libdir) to $(rootlib_execdir) and update devel link, if needed
libgudev-install-move-hook: