summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2007-04-29 16:12:06 +0000
committerkan <kan@FreeBSD.org>2007-04-29 16:12:06 +0000
commite7d29627eeefc1559174a27c7956d871cd6a80bf (patch)
tree5d87ba4e262f718ca374d38bb09a5cee5e00e031 /libexec/rtld-elf/Makefile
parentb7809333802215fceff57f73f47f202530d3863f (diff)
downloadFreeBSD-src-e7d29627eeefc1559174a27c7956d871cd6a80bf.zip
FreeBSD-src-e7d29627eeefc1559174a27c7956d871cd6a80bf.tar.gz
Retire rtld-specific Versions.def. Symbols exported by rtld are supposed
to override weak symbols exported by libc, so by definition these two are using the same symbol version names. Reflect the reality by referring to libc's Versions.def directly.
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile
index e132f30..75203e3 100644
--- a/libexec/rtld-elf/Makefile
+++ b/libexec/rtld-elf/Makefile
@@ -21,9 +21,10 @@ LDFLAGS+= -shared -Wl,-Bsymbolic
DPADD= ${LIBC_PIC}
LDADD= -lc_pic
-.if defined(SYMVER_ENABLED) && 0
+.if defined(SYMVER_ENABLED)
+LIBCDIR= ${.CURDIR}/../../lib/libc
+VERSION_DEF= ${LIBCDIR}/Versions.def
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
-VERSION_DEF= ${.CURDIR}/Versions.def
VERSION_MAP= Version.map
LDFLAGS+= -Wl,--version-script=${VERSION_MAP}
OpenPOWER on IntegriCloud