Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2009 17:10:51 +0000 (UTC)
From:      Alexander Nedotsukov <bland@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197995 - in head/kerberos5/lib: libgssapi_krb5 libgssapi_spnego
Message-ID:  <200910121710.n9CHApOl078521@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bland (ports committer)
Date: Mon Oct 12 17:10:51 2009
New Revision: 197995
URL: http://svn.freebsd.org/changeset/base/197995

Log:
  Link GSS mechanics modules against libgssapi so they will not fail due
  unresolved symbol errors when in turn libgssapi was loaded with RTLD_LOCAL
  flag set (which is the default).
  
  Reviewed by:	dfr, jhb
  MFC after:	3 days

Modified:
  head/kerberos5/lib/libgssapi_krb5/Makefile
  head/kerberos5/lib/libgssapi_spnego/Makefile

Modified: head/kerberos5/lib/libgssapi_krb5/Makefile
==============================================================================
--- head/kerberos5/lib/libgssapi_krb5/Makefile	Mon Oct 12 17:09:35 2009	(r197994)
+++ head/kerberos5/lib/libgssapi_krb5/Makefile	Mon Oct 12 17:10:51 2009	(r197995)
@@ -2,8 +2,8 @@
 
 LIB=	gssapi_krb5
 LDFLAGS= -Wl,-Bsymbolic
-LDADD=	-lkrb5 -lhx509 -lcrypto -lroken -lasn1 -lcom_err -lcrypt
-DPADD=	${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBROKEN} ${LIBASN1} \
+LDADD=	-lgssapi -lkrb5 -lhx509 -lcrypto -lroken -lasn1 -lcom_err -lcrypt
+DPADD=	${LIBGSSAPI} ${LIBKRB5} ${LIBHX509} ${LIBCRYPTO} ${LIBROKEN} ${LIBASN1} \
 	${LIBCOM_ERR} ${LIBCRYPT}
 
 INCS=	${KRB5DIR}/lib/gssapi/gssapi/gssapi_krb5.h

Modified: head/kerberos5/lib/libgssapi_spnego/Makefile
==============================================================================
--- head/kerberos5/lib/libgssapi_spnego/Makefile	Mon Oct 12 17:09:35 2009	(r197994)
+++ head/kerberos5/lib/libgssapi_spnego/Makefile	Mon Oct 12 17:10:51 2009	(r197995)
@@ -2,8 +2,8 @@
 
 LIB=	gssapi_spnego
 LDFLAGS= -Wl,-Bsymbolic
-LDADD=	-lasn1
-DPADD=	${LIBASN1}
+LDADD=	-lgssapi -lasn1
+DPADD=	${LIBGSSAPI} ${LIBASN1}
 
 SRCS=	accept_sec_context.c \
 	compat.c \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910121710.n9CHApOl078521>