summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libhdb/Makefile
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/libhdb/Makefile
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/libhdb/Makefile')
-rw-r--r--kerberos5/lib/libhdb/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/kerberos5/lib/libhdb/Makefile b/kerberos5/lib/libhdb/Makefile
index 75465d3..653690a 100644
--- a/kerberos5/lib/libhdb/Makefile
+++ b/kerberos5/lib/libhdb/Makefile
@@ -1,6 +1,9 @@
# $FreeBSD$
LIB= hdb
+LDFLAGS= -Wl,--no-undefined
+LDADD= -lasn1 -lcom_err -lkrb5 -lroken
+DPADD= ${LIBASN1} ${LIBCOM_ERR} ${LIBKRB5} ${LIBROKEN}
INCS= hdb-private.h \
hdb-protos.h \
OpenPOWER on IntegriCloud