passwd and sulogin also need libcrypt, via libbb/pw_encrypt()
This commit is contained in:
parent
70060d25d2
commit
ea9bcda373
@ -37,9 +37,12 @@ LOGINUTILS-$(CONFIG_DELGROUP) += delgroup.o
|
||||
libraries-y+=$(LOGINUTILS_DIR)$(LOGINUTILS_AR)
|
||||
|
||||
needcrypt-y:=
|
||||
needcrypt-$(CONFIG_LOGIN) := y
|
||||
needcrypt-$(CONFIG_SU) := y
|
||||
needcrypt-$(CONFIG_VLOCK) := y
|
||||
needcrypt-$(CONFIG_LOGIN) := y
|
||||
needcrypt-$(CONFIG_PASSWD) := y
|
||||
needcrypt-$(CONFIG_SU) := y
|
||||
needcrypt-$(CONFIG_SULOGIN) := y
|
||||
needcrypt-$(CONFIG_VLOCK) := y
|
||||
|
||||
|
||||
ifeq ($(needcrypt-y),y)
|
||||
LIBRARIES += -lcrypt
|
||||
|
Loading…
Reference in New Issue
Block a user