svn commit: r246657 - head/kerberos5/libexec/digest-service

Brooks Davis brooks at FreeBSD.org
Mon Feb 11 09:45:25 UTC 2013


Author: brooks
Date: Mon Feb 11 09:45:24 2013
New Revision: 246657
URL: http://svnweb.freebsd.org/changeset/base/246657

Log:
  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 at gmail.com> (mclinker issue)

Modified:
  head/kerberos5/libexec/digest-service/Makefile

Modified: head/kerberos5/libexec/digest-service/Makefile
==============================================================================
--- head/kerberos5/libexec/digest-service/Makefile	Mon Feb 11 09:42:34 2013	(r246656)
+++ head/kerberos5/libexec/digest-service/Makefile	Mon Feb 11 09:45:24 2013	(r246657)
@@ -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>
 


More information about the svn-src-all mailing list