aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 91ff771cf..7d1686d90 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