summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile6
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
OpenPOWER on IntegriCloud