summaryrefslogtreecommitdiffstats
path: root/secure/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'secure/libexec')
-rw-r--r--secure/libexec/sftp-server/Makefile4
-rw-r--r--secure/libexec/ssh-keysign/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/secure/libexec/sftp-server/Makefile b/secure/libexec/sftp-server/Makefile
index 28cff68..ff1d4b1 100644
--- a/secure/libexec/sftp-server/Makefile
+++ b/secure/libexec/sftp-server/Makefile
@@ -1,12 +1,14 @@
# $FreeBSD$
+LIBSSH= ${.OBJDIR}/../../lib/libssh/libssh.a
+
PROG= sftp-server
SRCS= sftp-server.c sftp-common.c
MAN= sftp-server.8
CFLAGS+=-I${SSHDIR}
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD= -lssh -lcrypt -lcrypto -lz
+LDADD= ${LIBSSH} -lcrypt -lcrypto -lz
.include <bsd.prog.mk>
diff --git a/secure/libexec/ssh-keysign/Makefile b/secure/libexec/ssh-keysign/Makefile
index 3f2ed51..24bf29e 100644
--- a/secure/libexec/ssh-keysign/Makefile
+++ b/secure/libexec/ssh-keysign/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+LIBSSH= ${.OBJDIR}/../../lib/libssh/libssh.a
+
PROG= ssh-keysign
SRCS= ssh-keysign.c readconf.c
MAN= ssh-keysign.8
@@ -9,7 +11,7 @@ BINMODE=4511
.endif
DPADD= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBZ}
-LDADD= -lssh -lcrypt -lcrypto -lz
+LDADD= ${LIBSSH} -lcrypt -lcrypto -lz
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud