diff options
author | markm <markm@FreeBSD.org> | 2001-04-28 07:56:49 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-04-28 07:56:49 +0000 |
commit | e0475f8cdec3a9ad4a1a98a10e4f5017e9c43fcf (patch) | |
tree | 31f61fd1d17fb2d67788fa038d5b61251c55848b /libexec | |
parent | fefaa70f2e617dfbdf1e28b70b08e24a9e3739c6 (diff) | |
download | FreeBSD-src-e0475f8cdec3a9ad4a1a98a10e4f5017e9c43fcf.zip FreeBSD-src-e0475f8cdec3a9ad4a1a98a10e4f5017e9c43fcf.tar.gz |
Enable (optional) static linking.
Asked for by: BDE
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftpd/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index 6d81aee..bee75d4 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -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 |