summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/rshd/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libexec/rshd/Makefile b/libexec/rshd/Makefile
index 735c00d..e5e5cdb 100644
--- a/libexec/rshd/Makefile
+++ b/libexec/rshd/Makefile
@@ -21,3 +21,8 @@ LDADD+= ${MINUSLPAM}
CFLAGS+= -DINET6
.include <bsd.prog.mk>
+
+.if defined(NOSHARED) && !defined(NOPAM)
+DPADD+= ${LIBCRYPTO}
+LDADD+= -L${.OBJDIR}/../../secure/lib/libssh -lssh -lcrypto
+.endif
OpenPOWER on IntegriCloud