From bf3a79274dac1f6f74c4a1d126e3fb098ac9fc6c Mon Sep 17 00:00:00 2001 From: deischen Date: Sun, 13 May 2007 14:12:40 +0000 Subject: Enable symbol versioning by default. Use WITHOUT_SYMVER to disable it. Warning, after symbol versioning is enabled, going back is not easy (use WITHOUT_SYMVER at your own risk). Change the default thread library to libthr. There most likely still needs to be a version bump for at least the thread libraries. If necessary, this will happen later. --- share/mk/bsd.lib.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/mk/bsd.lib.mk') diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 2c01afc..a2e4f21 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -108,7 +108,7 @@ all: objwarn # Allow librararies to specify their own version map or have it # automatically generated (see bsd.symver.mk above). -.if !empty(VERSION_MAP) +.if (${MK_SYMVER} == "yes") && !empty(VERSION_MAP) ${SHLIB_NAME}: ${VERSION_MAP} LDFLAGS+= -Wl,--version-script=${VERSION_MAP} .endif -- cgit v1.1