diff options
author | gordon <gordon@FreeBSD.org> | 2003-08-19 07:45:03 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-08-19 07:45:03 +0000 |
commit | 7166b89595c332e02c04e1d367bbd0b33e42b233 (patch) | |
tree | c28e9c9d142adf809043f102443528dfe3b32da6 /secure/libexec | |
parent | eba4ad609e4ee4e9f6633ab5db2c88b43fba56d7 (diff) | |
download | FreeBSD-src-7166b89595c332e02c04e1d367bbd0b33e42b233.zip FreeBSD-src-7166b89595c332e02c04e1d367bbd0b33e42b233.tar.gz |
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
Diffstat (limited to 'secure/libexec')
-rw-r--r-- | secure/libexec/sftp-server/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/secure/libexec/sftp-server/Makefile b/secure/libexec/sftp-server/Makefile index e37f8f5..8f80230 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 <bsd.prog.mk> |