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

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