passwd and sulogin also need libcrypt, via libbb/pw_encrypt()

This commit is contained in:
Eric Andersen 2004-03-27 10:08:53 +00:00
parent 70060d25d2
commit ea9bcda373

View File

@ -37,9 +37,12 @@ LOGINUTILS-$(CONFIG_DELGROUP) += delgroup.o
libraries-y+=$(LOGINUTILS_DIR)$(LOGINUTILS_AR) libraries-y+=$(LOGINUTILS_DIR)$(LOGINUTILS_AR)
needcrypt-y:= needcrypt-y:=
needcrypt-$(CONFIG_LOGIN) := y needcrypt-$(CONFIG_LOGIN) := y
needcrypt-$(CONFIG_SU) := y needcrypt-$(CONFIG_PASSWD) := y
needcrypt-$(CONFIG_VLOCK) := y needcrypt-$(CONFIG_SU) := y
needcrypt-$(CONFIG_SULOGIN) := y
needcrypt-$(CONFIG_VLOCK) := y
ifeq ($(needcrypt-y),y) ifeq ($(needcrypt-y),y)
LIBRARIES += -lcrypt LIBRARIES += -lcrypt