From effa5b4e71887b2f6119c856c7b971e37ff3923b Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Sun, 29 Apr 2007 16:12:06 +0000 Subject: 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. --- libexec/rtld-elf/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libexec/rtld-elf/Makefile') diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index e132f30d3c36..75203e3ec03a 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} -- cgit v1.3