passwd and sulogin also need libcrypt, via libbb/pw_encrypt()
This commit is contained in:
parent
70060d25d2
commit
ea9bcda373
@ -38,9 +38,12 @@ libraries-y+=$(LOGINUTILS_DIR)$(LOGINUTILS_AR)
|
||||
|
||||
needcrypt-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
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user