summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1999-10-01 17:40:01 +0000
committerderaadt <deraadt@openbsd.org>1999-10-01 17:40:01 +0000
commitabe7b4fe2826fe52e96f367eaa17ef192cf75382 (patch)
tree9945b64977004a0dc7c7d38c3ebf39d6a88bd345 /usr.bin/ssh
parentFix version upgrade missing in previous mod_ssl commit. (diff)
downloadwireguard-openbsd-abe7b4fe2826fe52e96f367eaa17ef192cf75382.tar.xz
wireguard-openbsd-abe7b4fe2826fe52e96f367eaa17ef192cf75382.zip
Why do I need this library dependency workaround for static builds.. anyone?
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/ssh/Makefile5
-rw-r--r--usr.bin/ssh/sshd/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh/Makefile b/usr.bin/ssh/ssh/Makefile
index b54097303e8..40b519bf09c 100644
--- a/usr.bin/ssh/ssh/Makefile
+++ b/usr.bin/ssh/ssh/Makefile
@@ -4,8 +4,6 @@ PROG= ssh
BINOWN= root
BINMODE=4555
BINDIR= /usr/bin
-LDADD= -lcrypto -ldes -lutil -lz
-DPADD= ${LIBCRYPTO} ${LIBDES} ${LIBUTIL} ${LIBZ}
MAN= ssh.1
LINKS= ${BINDIR}/ssh ${BINDIR}/slogin
MLINKS= ssh.1 slogin.1
@@ -28,3 +26,6 @@ minfd.h: gen_minfd
./gen_minfd $(USER_SHELLS) > minfd.h
.include <bsd.prog.mk>
+
+LDADD+= -ldes -lutil -lz -lcrypto
+DPADD+= ${LIBCRYPTO} ${LIBDES} ${LIBUTIL} ${LIBZ}
diff --git a/usr.bin/ssh/sshd/Makefile b/usr.bin/ssh/sshd/Makefile
index e36de051933..842ca08db58 100644
--- a/usr.bin/ssh/sshd/Makefile
+++ b/usr.bin/ssh/sshd/Makefile
@@ -4,8 +4,6 @@ PROG= sshd
BINOWN= root
BINMODE=555
BINDIR= /usr/sbin
-LDADD= -lcrypto -ldes -lutil -lz
-DPADD= ${LIBCRYPTO} ${LIBDES} ${LIBUTIL} ${LIBZ}
MAN= sshd.8
SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
@@ -32,3 +30,6 @@ minfd.h: gen_minfd
./gen_minfd $(USER_SHELLS) > minfd.h
.include <bsd.prog.mk>
+
+LDADD+= -lcrypto -ldes -lutil -lz
+DPADD+= ${LIBCRYPTO} ${LIBDES} ${LIBUTIL} ${LIBZ}