From: Adam Duskett Date: Sat, 18 Apr 2020 02:58:16 +0000 (-0700) Subject: package/polkit: enable gobject-introspection support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41dacc973b04f6873960aec05a949f434f719e43;p=buildroot.git 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 --- 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