summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/rtld-elf/Makefile5
-rw-r--r--libexec/rtld-elf/Versions.def7
2 files changed, 3 insertions, 9 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}
diff --git a/libexec/rtld-elf/Versions.def b/libexec/rtld-elf/Versions.def
deleted file mode 100644
index 41e223b..0000000
--- a/libexec/rtld-elf/Versions.def
+++ /dev/null
@@ -1,7 +0,0 @@
-# $FreeBSD$
-
-FBSD_1.0 {
-};
-
-FBSDprivate_1.0 {
-};
OpenPOWER on IntegriCloud