From 41dacc973b04f6873960aec05a949f434f719e43 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Fri, 17 Apr 2020 19:58:16 -0700 Subject: [PATCH] package/polkit: enable gobject-introspection support If gobject-introspection is selected, add the gobject-introspection package to the dependency list and set the conf opt --enable-introspection. Signed-off-by: Adam Duskett Signed-off-by: Thomas Petazzoni --- package/polkit/polkit.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk index ee0b3674de..3ae42b2312 100644 --- a/package/polkit/polkit.mk +++ b/package/polkit/polkit.mk @@ -26,6 +26,13 @@ POLKIT_CONF_OPTS = \ --disable-libelogind \ --disable-libsystemd-login +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +POLKIT_CONF_OPTS += --enable-introspection +POLKIT_DEPENDENCIES += gobject-introspection +else +POLKIT_CONF_OPTS += --disable-introspection +endif + ifeq ($(BR2_PACKAGE_LINUX_PAM),y) POLKIT_DEPENDENCIES += linux-pam POLKIT_CONF_OPTS += --with-authfw=pam -- 2.30.2