package/lxc: add linux-pam optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 86deafe863)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2022-07-14 11:57:01 +02:00 committed by Peter Korsgaard
parent c45193b8d0
commit f61bf4dc70

View File

@ -51,6 +51,13 @@ else
LXC_CONF_OPTS += --disable-liburing
endif
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
LXC_CONF_OPTS += --enable-pam
LXC_DEPENDENCIES += linux-pam
else
LXC_DEPENDENCIES += --disable-pam
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LXC_CONF_OPTS += --enable-openssl
LXC_DEPENDENCIES += openssl