mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
- 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)
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user