summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2010-02-26 12:12:54 +0000
committerru <ru@FreeBSD.org>2010-02-26 12:12:54 +0000
commit14768b6db6ce7053b5a6fa012edeab9cbbb977a0 (patch)
tree565f52e93e460a5916b5a5247d624ecfe6873b2c /secure
parent859e0a0f68c4a4fd1d24467e14d8ea59f0ad0ef0 (diff)
downloadFreeBSD-src-14768b6db6ce7053b5a6fa012edeab9cbbb977a0.zip
FreeBSD-src-14768b6db6ce7053b5a6fa012edeab9cbbb977a0.tar.gz
(Almost) fixed static linkage. The remaining problem is with
libgssapi.a and libgssapi_krb5.a libraries that define the same symbols.
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.sbin/sshd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 52d064e..d7a37a3 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -34,8 +34,8 @@ LDADD+= -lbsm
.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_GSSAPI_H=1 -DHAVE_GSSAPI_GSSAPI_KRB5_H=1 -DKRB5 -DHEIMDAL
-DPADD+= ${LIBGSSAPI} ${LIBGSSAPI_KRB5}
-LDADD+= -lgssapi -lgssapi_krb5
+DPADD+= ${LIBGSSAPI_KRB5} ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1}
+LDADD+= -lgssapi_krb5 -lgssapi -lkrb5 -lasn1
.endif
.if defined(X11BASE)
OpenPOWER on IntegriCloud