Browse Source

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>
Fabrice Fontaine 3 years ago
parent
commit
86deafe863
1 changed files with 7 additions and 0 deletions
  1. 7 0
      package/lxc/lxc.mk

+ 7 - 0
package/lxc/lxc.mk

@@ -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