summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-15 10:04:50 +0000
committerBernhard Reutner-Fischer2006-05-15 10:04:50 +0000
commit2f38f27b428527e6b90953ce6660b7fb9fb6b511 (patch)
treebedf1a6609c828d3413ff52932bc795aaf14f423
parentd9b6b844e5263f08af039a6d7b1f5388702a5d84 (diff)
downloadbusybox-2f38f27b428527e6b90953ce6660b7fb9fb6b511.zip
busybox-2f38f27b428527e6b90953ce6660b7fb9fb6b511.tar.gz
- patch from Robert P. J. Day to use filter instead of findstring.
-rw-r--r--libbb/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 91ff771..7d1686d 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -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