Enable (optional) static linking.
Asked for by: BDE
This commit is contained in:
parent
618b0bba1f
commit
d0392caa7b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76097
@ -9,6 +9,7 @@ CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall
|
||||
CFLAGS+=-DINET6
|
||||
CFLAGS+=-I${.CURDIR}
|
||||
YFLAGS=
|
||||
NOSHARED= YES
|
||||
|
||||
LDADD= -lskey -lmd -lcrypt -lutil
|
||||
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
|
||||
@ -25,3 +26,8 @@ LDADD+= ${MINUSLPAM}
|
||||
.endif
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
.if defined(NOSHARED) && !defined(NOPAM)
|
||||
DPADD+= ${LIBCRYPTO}
|
||||
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user