From f9ebf4c2b5faf2f9907f5a17cb8993b717314fad Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Sat, 28 Apr 2001 07:44:37 +0000 Subject: [PATCH] Allow static linking. Asked for by: BDE --- libexec/rshd/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile index 735c00d09d9..e5e5cdb9da6 100644 --- a/libexec/rshd/Makefile +++ b/libexec/rshd/Makefile @@ -21,3 +21,8 @@ LDADD+= ${MINUSLPAM} CFLAGS+= -DINET6 .include + +.if defined(NOSHARED) && !defined(NOPAM) +DPADD+= ${LIBCRYPTO} +LDADD+= -L${.OBJDIR}/../../secure/lib/libssh -lssh -lcrypto +.endif