aboutsummaryrefslogtreecommitdiff
path: root/package/libostree/libostree.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libostree/libostree.mk')
-rw-r--r--package/libostree/libostree.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/libostree/libostree.mk b/package/libostree/libostree.mk
index ff763b20f9..aed97b70cc 100644
--- a/package/libostree/libostree.mk
+++ b/package/libostree/libostree.mk
@@ -21,9 +21,16 @@ LIBOSTREE_CONF_OPTS += \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
- --disable-introspection \
--disable-man
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+LIBOSTREE_DEPENDENCIES += gobject-introspection
+LIBOSTREE_CONF_OPTS += --enable-introspection
+LIBOSTREE_MAKE_OPTS = INTROSPECTION_SCANNER_ENV=
+else
+LIBOSTREE_CONF_OPTS += --disable-introspection
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBOSTREE_CONF_OPTS += --with-openssl
LIBOSTREE_DEPENDENCIES += openssl