From 2f38f27b428527e6b90953ce6660b7fb9fb6b511 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 15 May 2006 10:04:50 +0000 Subject: [PATCH] - patch from Robert P. J. Day to use filter instead of findstring. --- libbb/Makefile.in | 4 ++-- 1 file 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 -- 2.25.1