From 3ceeaf44aad812918733b40832e316fc4b17e0ae Mon Sep 17 00:00:00 2001 From: aldot Date: Mon, 15 May 2006 10:04:50 +0000 Subject: - patch from Robert P. J. Day to use filter instead of findstring. git-svn-id: svn://busybox.net/trunk/busybox@15082 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') 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 -- cgit v1.2.3-55-g6feb