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>
This commit is contained in:
Fabrice Fontaine 2022-07-14 11:57:01 +02:00 committed by Yann E. MORIN
parent 9c92e958b3
commit 86deafe863

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