mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
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>
This commit is contained in:
committed by
Yann E. MORIN
parent
b8e230209f
commit
35a0878aa9
@@ -24,6 +24,7 @@ POLKIT_CONF_OPTS = \
|
|||||||
--disable-libsystemd-login
|
--disable-libsystemd-login
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||||
|
POLKIT_DEPENDENCIES += linux-pam
|
||||||
POLKIT_CONF_OPTS += --with-authfw=pam
|
POLKIT_CONF_OPTS += --with-authfw=pam
|
||||||
else
|
else
|
||||||
POLKIT_CONF_OPTS += --with-authfw=shadow
|
POLKIT_CONF_OPTS += --with-authfw=shadow
|
||||||
|
|||||||
Reference in New Issue
Block a user