- patch from Robert P. J. Day to use filter instead of findstring.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 15 May 2006 10:04:50 +0000 (10:04 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 15 May 2006 10:04:50 +0000 (10:04 -0000)
libbb/Makefile.in

index 91ff771cf320c6177ed0a73bbcbbaeeb1ad1f9b0..7d1686d908a1c9532e9fb8f9d469ac30f5daa69b 100644 (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