[Buildroot] [PATCH 12/12] package/udisks: add gobject-introspection support

aduskett at gmail.com aduskett at gmail.com
Thu Jul 23 01:08:10 UTC 2020


From: Adam Duskett <Aduskett at gmail.com>

Signed-off-by: Adam Duskett <Aduskett at gmail.com>
---
 package/udisks/udisks.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
index d934b51cfd..44889382e9 100644
--- a/package/udisks/udisks.mk
+++ b/package/udisks/udisks.mk
@@ -28,7 +28,6 @@ UDISKS_DEPENDENCIES = \
 UDISKS_CONF_OPTS = \
 	--disable-bcache \
 	--disable-btrfs \
-	--disable-introspection \
 	--disable-iscsi \
 	--disable-lsm \
 	--disable-man \
@@ -39,4 +38,11 @@ UDISKS_DEPENDENCIES += lvm2
 UDISKS_CONF_OPTS += --enable-lvm2
 endif
 
+ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
+UDISKS_DEPENDENCIES += gobject-introspection
+UDISKS_CONF_OPTS += --enable-introspection
+else
+UDISKS_CONF_OPTS += --disable-introspection
+endif
+
 $(eval $(autotools-package))
-- 
2.26.2



More information about the buildroot mailing list