freebsd-skq/secure/libexec/sftp-server/Makefile
gordon 7166b89595 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
2003-08-19 07:45:03 +00:00

14 lines
217 B
Makefile

# $FreeBSD$
PROG= sftp-server
SRCS= sftp-common.c sftp-server.c
MAN= sftp-server.8
CFLAGS+=-I${SSHDIR}
DPADD+= ${LIBSSH} ${LIBCRYPTO} ${LIBZ}
LDADD+= -lssh -lcrypto -lz
.include <bsd.prog.mk>
.PATH: ${SSHDIR}