Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Fix kerberos libraries order
details: https://anonhg.NetBSD.org/src/rev/3709a984e166
branches: trunk
changeset: 1008817:3709a984e166
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 04 03:35:01 2020 +0000
description:
Fix kerberos libraries order
diffstat:
share/mk/bsd.prog.mk | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diffs (33 lines):
diff -r 5e433c1a6fbf -r 3709a984e166 share/mk/bsd.prog.mk
--- a/share/mk/bsd.prog.mk Sat Apr 04 03:04:58 2020 +0000
+++ b/share/mk/bsd.prog.mk Sat Apr 04 03:35:01 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.prog.mk,v 1.326 2020/04/04 01:35:22 christos Exp $
+# $NetBSD: bsd.prog.mk,v 1.327 2020/04/04 03:35:01 christos Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@@ -221,15 +221,17 @@
.endfor
.if (${MKKERBEROS} != "no")
-LIBKRB5_LDADD+= -lkrb5
-LIBKRB5_DPADD+= ${LIBKRB5}
+LIBKRB5_LDADD+= -lkrb5 -lcom_err
+LIBKRB5_DPADD+= ${LIBKRB5} ${LIBCOM_ERR}
# Kerberos5 applications, if linked statically, need more libraries
LIBKRB5_STATIC_LDADD+= \
- -lhx509 -lcrypto -lasn1 -lcom_err -lroken \
- -lwind -lheimbase -lsqlite3 -lcrypt -lutil
+ -lhx509 -lcrypto -lasn1 \
+ -lwind -lheimbase -lcom_err -lroken \
+ -lsqlite3 -lcrypt -lutil
LIBKRB5_STATIC_DPADD+= \
- ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN} \
- ${LIBWIND} ${LIBHEIMBASE} ${LIBSQLITE3} ${LIBCRYPT} ${LIBUTIL}
+ ${LIBHX509} ${LIBCRYPTO} ${LIBASN1} \
+ ${LIBWIND} ${LIBHEIMBASE} ${LIBCOM_ERR} ${LIBROKEN} \
+ ${LIBSQLITE3} ${LIBCRYPT} ${LIBUTIL}
. if (${MKPIC} == "no")
LIBKRB5_LDADD+= ${LIBKRB5_STATIC_LDADD}
LIBKRB5_DPADD+= ${LIBKRB5_STATIC_DPADD}
Home |
Main Index |
Thread Index |
Old Index