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 <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
0d749be3e1
commit
41dacc973b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user