summaryrefslogtreecommitdiffstats
path: root/secure/lib/libssh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libssh/Makefile')
-rw-r--r--secure/lib/libssh/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index a195712..3931c86 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -20,6 +20,9 @@ SRCS+= getaddrinfo.c getnameinfo.c name6.c rcmd.c bindresvport.c
.endif
CFLAGS+= -I${SSHDIR}
+DPADD= ${LIBZ}
+LDADD= -lz
+
.if !defined(NO_KERBEROS)
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
@@ -28,8 +31,8 @@ LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
NOLINT= true
-DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBZ}
-LDADD+= -lcrypto -lcrypt -lz
+DPADD+= ${LIBCRYPTO} ${LIBCRYPT}
+LDADD+= -lcrypto -lcrypt
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud