diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index 3e78ec4ba8ba..4d8c44289157 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -68,7 +68,7 @@ CRUNCH_PROGS_bin= cat chflags chio chmod cp date dd df echo \ ed expr getfacl hostname kenv kill ln ls mkdir mv pax ps pwd \ realpath rm rmdir setfacl sh stty sync test CRUNCH_LIBS+= -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil -.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) CRUNCH_LIBS+= -lcrypto .endif