Explorar o código

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>
Adam Duskett %!s(int64=5) %!d(string=hai) anos
pai
achega
35a0878aa9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      package/polkit/polkit.mk

+ 1 - 0
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