Fixed static linkage.
Reviewed by: des
This commit is contained in:
parent
bf87c82ebb
commit
e1542a4058
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124249
@ -10,6 +10,9 @@ MLINKS= ssh.1 slogin.1
|
|||||||
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
SRCS= ssh.c readconf.c clientloop.c sshtty.c \
|
||||||
sshconnect.c sshconnect1.c sshconnect2.c
|
sshconnect.c sshconnect1.c sshconnect2.c
|
||||||
|
|
||||||
|
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ}
|
||||||
|
LDADD= -lssh -lutil -lz
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS)
|
.if !defined(NO_KERBEROS)
|
||||||
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
|
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
|
||||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
||||||
@ -20,8 +23,8 @@ LDADD+= -lgssapi -lkrb5 -lasn1 -lcom_err -lmd -lroken
|
|||||||
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
|
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ}
|
DPADD+= ${LIBCRYPT} ${LIBCRYPTO}
|
||||||
LDADD+= -lssh -lcrypt -lcrypto -lutil -lz
|
LDADD+= -lcrypt -lcrypto
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
|
|||||||
MAN= sshd.8 sshd_config.5
|
MAN= sshd.8 sshd_config.5
|
||||||
CFLAGS+=-I${SSHDIR}
|
CFLAGS+=-I${SSHDIR}
|
||||||
|
|
||||||
|
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
|
||||||
|
LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM}
|
||||||
|
|
||||||
.if !defined(NO_KERBEROS)
|
.if !defined(NO_KERBEROS)
|
||||||
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
|
CFLAGS+= -DGSSAPI -DKRB5 -DHEIMDAL
|
||||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBMD} ${LIBROKEN}
|
||||||
@ -29,8 +32,8 @@ LDADD+= -lopie -lmd
|
|||||||
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
|
CFLAGS+= -DXAUTH_PATH=\"${X11BASE}/bin/xauth\"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
|
DPADD+= ${LIBCRYPT} ${LIBCRYPTO}
|
||||||
LDADD+= -lssh -lcrypt -lcrypto -lutil -lz -lwrap ${MINUSLPAM}
|
LDADD+= -lcrypt -lcrypto
|
||||||
|
|
||||||
.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R)
|
.if defined(OPENSSH_USE_POSIX_THREADS) && !defined(NOLIBC_R)
|
||||||
CFLAGS+=-DUSE_POSIX_THREADS
|
CFLAGS+=-DUSE_POSIX_THREADS
|
||||||
|
Loading…
Reference in New Issue
Block a user