summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libgssapi_spnego
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2011-09-27 07:14:12 +0000
committerstas <stas@FreeBSD.org>2011-09-27 07:14:12 +0000
commitd35869ca7e2985d087d51a291649c60594a7436e (patch)
tree6ace9597e6156edc50bf8fecceb879761e0028e7 /kerberos5/lib/libgssapi_spnego
parentc4b01cd5b9d4d723d64afa53a997e49199b1abb4 (diff)
downloadFreeBSD-src-d35869ca7e2985d087d51a291649c60594a7436e.zip
FreeBSD-src-d35869ca7e2985d087d51a291649c60594a7436e.tar.gz
- Add missing interdependencies to kerberos libraries. Some of the
kerberos libraries were not linked properly (missing dependencies), which causes 3rd party applications linking to fail when --as-needed ld flag is used. I also added the --no-undefined ld(1) flag to make sure that there're no missing dependencies. MFC after: 3 days
Diffstat (limited to 'kerberos5/lib/libgssapi_spnego')
-rw-r--r--kerberos5/lib/libgssapi_spnego/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/kerberos5/lib/libgssapi_spnego/Makefile b/kerberos5/lib/libgssapi_spnego/Makefile
index 32348ec..ce44dbe 100644
--- a/kerberos5/lib/libgssapi_spnego/Makefile
+++ b/kerberos5/lib/libgssapi_spnego/Makefile
@@ -1,9 +1,9 @@
# $FreeBSD$
LIB= gssapi_spnego
-LDFLAGS= -Wl,-Bsymbolic
-LDADD= -lgssapi -lasn1
-DPADD= ${LIBGSSAPI} ${LIBASN1}
+LDFLAGS= -Wl,-Bsymbolic -Wl,--no-undefined
+LDADD= -lgssapi -lasn1 -lroken
+DPADD= ${LIBGSSAPI} ${LIBASN1} ${LIBROKEN}
SRCS= accept_sec_context.c \
compat.c \
OpenPOWER on IntegriCloud