1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Enable (optional) static linking.

This commit is contained in:
Mark Murray 2001-04-28 08:06:33 +00:00
parent 9c3f4f5208
commit 289ef82e3c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76099

View File

@ -21,3 +21,8 @@ INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
.include <bsd.prog.mk>
.if defined(NOSHARED) && !defined(NOPAM)
DPADD+= ${LIBCRYPTO}
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
.endif