summaryrefslogtreecommitdiffstats
path: root/secure/libexec
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2010-02-25 21:26:50 +0000
committerdes <des@FreeBSD.org>2010-02-25 21:26:50 +0000
commitc4824258ac63daf2154aa6d6d3270f96dc7d4e1a (patch)
tree97cd32544b3454b4a06423572de9fe3f97f01f9f /secure/libexec
parent000663e80955a044c229f9274011b828a788ee4b (diff)
downloadFreeBSD-src-c4824258ac63daf2154aa6d6d3270f96dc7d4e1a.zip
FreeBSD-src-c4824258ac63daf2154aa6d6d3270f96dc7d4e1a.tar.gz
Remove -static; it was a failed experiment that got committed by accident.
Diffstat (limited to 'secure/libexec')
-rw-r--r--secure/libexec/sftp-server/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/secure/libexec/sftp-server/Makefile b/secure/libexec/sftp-server/Makefile
index 7947028..2d5be76 100644
--- a/secure/libexec/sftp-server/Makefile
+++ b/secure/libexec/sftp-server/Makefile
@@ -5,8 +5,11 @@ SRCS= sftp-server.c sftp-common.c sftp-server-main.c
MAN= sftp-server.8
CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
+# required when linking with a dynamic libssh
+SRCS+= roaming_dummy.c
+
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD= -lcrypt -lcrypto -lz -static -lssh
+LDADD= -lcrypt -lcrypto -lz -lssh
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud