diff options
author | stas <stas@FreeBSD.org> | 2011-09-27 07:14:12 +0000 |
---|---|---|
committer | stas <stas@FreeBSD.org> | 2011-09-27 07:14:12 +0000 |
commit | d35869ca7e2985d087d51a291649c60594a7436e (patch) | |
tree | 6ace9597e6156edc50bf8fecceb879761e0028e7 /kerberos5/lib/libkadm5srv | |
parent | c4b01cd5b9d4d723d64afa53a997e49199b1abb4 (diff) | |
download | FreeBSD-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/libkadm5srv')
-rw-r--r-- | kerberos5/lib/libkadm5srv/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kerberos5/lib/libkadm5srv/Makefile b/kerberos5/lib/libkadm5srv/Makefile index c0be477..43bd6e0 100644 --- a/kerberos5/lib/libkadm5srv/Makefile +++ b/kerberos5/lib/libkadm5srv/Makefile @@ -1,6 +1,9 @@ # $FreeBSD$ LIB= kadm5srv +LDFLAGS= -Wl,--no-undefined +LDADD= -lcom_err -lhdb -lkrb5 -lroken +DPADD= ${LIBCOM_ERR} ${LIBHDB} ${LIBKRB5} ${LIBROKEN} VERSION_MAP= ${KRB5DIR}/lib/kadm5/version-script.map SRCS= acl.c \ |