summaryrefslogtreecommitdiffstats
path: root/kerberos5
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2013-02-11 09:45:24 +0000
committerbrooks <brooks@FreeBSD.org>2013-02-11 09:45:24 +0000
commitda973a9cc05a98986b26a187b49f2e4c5f23e3a7 (patch)
tree388bd1ef6106ee6937f51a379de3cfbd7f93c26c /kerberos5
parent49c303e64be39830f99150f59e7d1c79885336c1 (diff)
downloadFreeBSD-src-da973a9cc05a98986b26a187b49f2e4c5f23e3a7.zip
FreeBSD-src-da973a9cc05a98986b26a187b49f2e4c5f23e3a7.tar.gz
Add -lheimntlm to LDADD directly.
With the current binutils, symbols from libheimtlm.so are loaded because it is referenced by DT_NEEDED. This feature is not implemented in mclinker (https://code.google.com/p/mclinker/issues/detail?id=104). I encountered the same issue when linking with a recent devel/binutils invoked via clang. This was the only use of DT_NEEDED in the tree so removing it simplifies toolchain requirements. Submitted by: Pete Chou <petechou@gmail.com> (mclinker issue)
Diffstat (limited to 'kerberos5')
-rw-r--r--kerberos5/libexec/digest-service/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberos5/libexec/digest-service/Makefile b/kerberos5/libexec/digest-service/Makefile
index 5d851b9..82a8bc4 100644
--- a/kerberos5/libexec/digest-service/Makefile
+++ b/kerberos5/libexec/digest-service/Makefile
@@ -11,7 +11,7 @@ CFLAGS+= -I${KRB5DIR}/kdc \
DPADD= ${LIBHDB} ${LIBKDC} ${LIBHEIMIPCS} ${LIBKRB5} ${LIBROKEN} ${LIBASN1} ${LIBCRYPTO} \
${LIBCRYPT} ${LIBVERS}
LDADD= -lhdb -lkdc ${LIBHEIMIPCS} -lkrb5 -lroken -lasn1 -lcrypto -lcrypt \
- ${LIBVERS}
+ ${LIBVERS} -lheimntlm
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud