summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib/libkafs5/Makefile
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2012-04-08 04:22:09 +0000
committerstas <stas@FreeBSD.org>2012-04-08 04:22:09 +0000
commitdad11110002a6b84d85da8ce28a358f51cad2d51 (patch)
tree6cd633439b0accd59f5d239af869b258694a678f /kerberos5/lib/libkafs5/Makefile
parentf5f18fea0eba5a0b1ed9857b094aa84805724afc (diff)
downloadFreeBSD-src-dad11110002a6b84d85da8ce28a358f51cad2d51.zip
FreeBSD-src-dad11110002a6b84d85da8ce28a358f51cad2d51.tar.gz
- Add a "real" symbol version map to libasn1. The upstream version
of the version map just exported all the symbols, which caused a binutils bug being triggered when ld fails to link two objects, one of which exports a versioned version of the symbol, and another -- unversioned. [1] - Also add version map for libkafs5. Submitted by: jchandra@ (based on)
Diffstat (limited to 'kerberos5/lib/libkafs5/Makefile')
-rw-r--r--kerberos5/lib/libkafs5/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/kerberos5/lib/libkafs5/Makefile b/kerberos5/lib/libkafs5/Makefile
index d17b6b8..d1faae7 100644
--- a/kerberos5/lib/libkafs5/Makefile
+++ b/kerberos5/lib/libkafs5/Makefile
@@ -1,19 +1,12 @@
# $FreeBSD$
LIB= kafs5
-LDADD= -lasn1 -lroken
+LDADD= -lasn1 -lroken -lkrb5
+LDFLAGS= -Wl,--no-undefined
DPADD= ${LIBASN1} ${LIBKRB5} ${LIBROKEN}
INCS= kafs.h
MAN= kafs5.3
-
-#
-# Linking with libkrb5 uncovers a bug in binutils.
-# See http://repo.or.cz/w/binutils.git/commit/ee05170bf71819c99cb5a36a44735c231ae03c56 .
-#
-.if ${MACHINE} != "mips"
-LDADD+= -lkrb5
-LDFLAGS= -Wl,--no-undefined
-.endif
+VERSION_MAP= ${.CURDIR}/version.map
MLINKS= kafs5.3 k_afs_cell_of_file.3 \
kafs5.3 k_hasafs.3 \
OpenPOWER on IntegriCloud