- patch from Robert P. J. Day to use filter instead of findstring.
This commit is contained in:
parent
d9b6b844e5
commit
2f38f27b42
@ -116,10 +116,10 @@ LIBBB_AR:=$(LIBBB_DIR)/libbb.a
|
|||||||
libraries-y+=$(LIBBB_AR)
|
libraries-y+=$(LIBBB_AR)
|
||||||
|
|
||||||
needcrypt-y:=
|
needcrypt-y:=
|
||||||
ifneq ($(findstring $(srcdir)/pw_encrypt.c,$(LIBBB-y)),)
|
ifneq ($(filter $(srcdir)/pw_encrypt.c,$(LIBBB-y)),)
|
||||||
needcrypt-y:=y
|
needcrypt-y:=y
|
||||||
else
|
else
|
||||||
ifneq ($(findstring $(srcdir)/correct_password.c,$(LIBBB-y)),)
|
ifneq ($(filter $(srcdir)/correct_password.c,$(LIBBB-y)),)
|
||||||
needcrypt-y:=y
|
needcrypt-y:=y
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user