From: Adam Duskett Date: Sun, 15 Mar 2020 20:56:10 +0000 (-0700) Subject: package/polkit: add linux-pam as a dependency if linux-pam is selected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35a0878aa934c4c92a854c3dc90f21ca896fd3e1;p=buildroot.git 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 Signed-off-by: Yann E. MORIN --- diff --git a/package/polkit/polkit.mk b/package/polkit/polkit.mk index bc9e3580ab..efd788a05c 100644 --- a/package/polkit/polkit.mk +++ b/package/polkit/polkit.mk @@ -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