- patch from Robert P. J. Day to use filter instead of findstring.

This commit is contained in:
Bernhard Reutner-Fischer 2006-05-15 10:04:50 +00:00
parent d9b6b844e5
commit 2f38f27b42

View File

@ -116,10 +116,10 @@ LIBBB_AR:=$(LIBBB_DIR)/libbb.a
libraries-y+=$(LIBBB_AR)
needcrypt-y:=
ifneq ($(findstring $(srcdir)/pw_encrypt.c,$(LIBBB-y)),)
ifneq ($(filter $(srcdir)/pw_encrypt.c,$(LIBBB-y)),)
needcrypt-y:=y
else
ifneq ($(findstring $(srcdir)/correct_password.c,$(LIBBB-y)),)
ifneq ($(filter $(srcdir)/correct_password.c,$(LIBBB-y)),)
needcrypt-y:=y
endif
endif