Message ID | 20191128012609.3632661-3-aduskett@gmail.com |
---|---|
State | Superseded, archived |
Headers | show |
Series | package/polkit: bump to version 0.116 | expand |
diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk index 507d1865fa..0c17e9bc27 100644 --- a/package/polkit/polkit.mk +++ b/package/polkit/polkit.mk @@ -13,13 +13,18 @@ POLKIT_INSTALL_STAGING = YES POLKIT_DEPENDENCIES = libglib2 host-intltool expat spidermonkey -# We could also support --with-authfw=pam POLKIT_CONF_OPTS = \ - --with-authfw=shadow \ --with-os-type=unknown \ --disable-man-pages \ --disable-examples \ --disable-libelogind \ --disable-libsystemd-login +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +POLKIT_CONF_OPTS += --with-authfw=pam +else +POLKIT_CONF_OPTS += --with-authfw=shadow +endif + + $(eval $(autotools-package))