2000-04-04 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Wed, 5 Apr 2000 00:44:59 +0000 (00:44 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 5 Apr 2000 00:44:59 +0000 (00:44 +0000)
* Makeconfig [$(build-shared) != yes] (versioning): Set to `no'.

Makeconfig

index 8a7f948..120a895 100644 (file)
@@ -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)))