aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2001-04-28 07:56:49 +0000
committerMark Murray <markm@FreeBSD.org>2001-04-28 07:56:49 +0000
commitd0392caa7b86e2e829af6fb9a230f902d8429557 (patch)
treec845b352b95035a1a9015419eb7f7fa9a7e429e6 /libexec
parent618b0bba1feda5797cf464d890a4f3ae703ff6e1 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 6d81aee9c9148..bee75d43c0337 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