summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libasn1
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/libasn1
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/libasn1')
-rw-r--r--kerberos5/lib/libasn1/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/kerberos5/lib/libasn1/Makefile b/kerberos5/lib/libasn1/Makefile
index 4a9c21e..cf91a4b 100644
--- a/kerberos5/lib/libasn1/Makefile
+++ b/kerberos5/lib/libasn1/Makefile
@@ -1,7 +1,10 @@
# $FreeBSD$
LIB= asn1
+LDFLAGS= -Wl,--no-undefined
INCS= asn1_err.h heim_asn1.h
+LDADD= -lcom_err -lroken
+DPADD= ${LIBCOM_ERR} ${LIBROKEN}
SRCS= asn1_err.c \
asn1_err.h \
OpenPOWER on IntegriCloud