package/polkit: add linux-pam as a dependency if linux-pam is selected
Without linux-pam built first, polkit will throw a configuration error:
configure: error: Could not find pam/pam-devel, please install the needed packages.
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 35a0878aa9
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
751f657689
commit
9231ffe10b
@ -24,6 +24,7 @@ POLKIT_CONF_OPTS = \
|
||||
--disable-libsystemd-login
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
POLKIT_DEPENDENCIES += linux-pam
|
||||
POLKIT_CONF_OPTS += --with-authfw=pam
|
||||
else
|
||||
POLKIT_CONF_OPTS += --with-authfw=shadow
|
||||
|
Loading…
Reference in New Issue
Block a user