From c45db693122433da0df840aecca85198f1eafb54 Mon Sep 17 00:00:00 2001 From: Gordon Tetlow Date: Tue, 19 Aug 2003 07:45:03 +0000 Subject: Explicitly add libz and libcrypto to LDADD for any ssh utilities missing it. While not strictly required, it unbreaks the cross-build world that is resulting from moving the libraries around. I have a more permanent solution to this problem in the works, but I asked des for permission to commit this to get the ball rolling. This also makes the ssh build more along the lines of what the openssh-portable and OpenBSD openssh Makefile glue does. Reviewed by: des --- secure/libexec/sftp-server/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'secure/libexec') diff --git a/secure/libexec/sftp-server/Makefile b/secure/libexec/sftp-server/Makefile index e37f8f5592de..8f802309b5d2 100644 --- a/secure/libexec/sftp-server/Makefile +++ b/secure/libexec/sftp-server/Makefile @@ -5,8 +5,8 @@ SRCS= sftp-common.c sftp-server.c MAN= sftp-server.8 CFLAGS+=-I${SSHDIR} -DPADD+= ${LIBSSH} ${LIBCRYPTO} -LDADD+= -lssh -lcrypto +DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBZ} +LDADD+= -lssh -lcrypto -lz .include -- cgit v1.3