From 289ef82e3c28db6bf03545d42b35a4108276fb67 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Sat, 28 Apr 2001 08:06:33 +0000 Subject: [PATCH] Enable (optional) static linking. --- usr.bin/login/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index 970e591f92fd..820ca6e481ed 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -21,3 +21,8 @@ INSTALLFLAGS=-fschg NEED_LIBNAMES= yes .include + +.if defined(NOSHARED) && !defined(NOPAM) +DPADD+= ${LIBCRYPTO} +LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto +.endif