Allow static linking.

Asked for by:	BDE
This commit is contained in:
Mark Murray 2001-04-28 07:44:37 +00:00
parent 8490ea92d6
commit f9ebf4c2b5

View file

@ -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