From 2a1bb46b9a841fd82d0f59c9d4a0ddfa29e09f3f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 5 Apr 2000 00:44:59 +0000 Subject: 2000-04-04 Roland McGrath * Makeconfig [$(build-shared) != yes] (versioning): Set to `no'. --- Makeconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makeconfig') diff --git a/Makeconfig b/Makeconfig index 8a7f94849b..120a8954a7 100644 --- a/Makeconfig +++ b/Makeconfig @@ -762,6 +762,15 @@ ifndef rtld-version-installed-name rtld-version-installed-name = ld-$(version).so endif +else # build-shared != yes + +# Since symbol versioning is only meaningful for shared objects, +# turn this variable off when we aren't building any. +# The setting from config.make just tells us ld would support it if we cared. +# Clobbering it here avoids having to double-conditionalize everything +# on both $(versioning) and $(build-shared). +versioning := no + endif # build-shared ifneq (,$(findstring linuxthreads,$(add-ons))) -- cgit v1.2.3