summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_sunos5_sunc++.GNU
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2003-10-17 21:48:40 +0000
committerSteve Huston <shuston@riverace.com>2003-10-17 21:48:40 +0000
commit6598a78dbc94abbc9498255c057e2dae5971cd23 (patch)
treee3623b81f0e334d5da9c1e58e0dd8efe05a55d3b /include/makeinclude/platform_sunos5_sunc++.GNU
parent8f782902f3e9612437758452f995ed0d4325539f (diff)
downloadATCD-6598a78dbc94abbc9498255c057e2dae5971cd23.tar.gz
ChangeLogTag:Fri Oct 17 16:21:39 2003 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'include/makeinclude/platform_sunos5_sunc++.GNU')
-rw-r--r--include/makeinclude/platform_sunos5_sunc++.GNU10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/makeinclude/platform_sunos5_sunc++.GNU b/include/makeinclude/platform_sunos5_sunc++.GNU
index 37525f9711b..06abc80c171 100644
--- a/include/makeinclude/platform_sunos5_sunc++.GNU
+++ b/include/makeinclude/platform_sunos5_sunc++.GNU
@@ -53,7 +53,9 @@ endif
ifeq (,$(threads))
threads = 1
endif
-
+ifeq (,$(versioned_so))
+ versioned_so = 1
+endif
tk_reactor = 0
ace_with_x11 = 0
@@ -217,9 +219,11 @@ RANLIB = echo
SOFLAGS += -G $(CPPFLAGS)
# The correct flags to pass to the linker for ELF dynamic shared library
-# versioning
+# versioning. This knows that wrapper_macros.GNU will set versioned_so to
+# 1 if it's not set. So, the only way SOFLAGS should _not_ get this is if
+# versioned_so has been explicitly disabled.
#
-ifneq ($(SONAME),)
+ifeq ($(versioned_so),1)
SOFLAGS += -h $(SONAME)
endif