package/linux-pam: add openssl optional dependency
openssl is an optional dependency since version 1.5.2 and
b3bb13e18a
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
f69205cd83
commit
ea0f6e803a
@ -42,6 +42,13 @@ else
|
||||
LINUX_PAM_CONF_OPTS += --disable-audit
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LINUX_PAM_CONF_OPTS += --enable-openssl
|
||||
LINUX_PAM_DEPENDENCIES += openssl
|
||||
else
|
||||
LINUX_PAM_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
# Install default pam config (deny everything except login)
|
||||
define LINUX_PAM_INSTALL_CONFIG
|
||||
$(INSTALL) -m 0644 -D package/linux-pam/login.pam \
|
||||
|
Loading…
Reference in New Issue
Block a user