summaryrefslogtreecommitdiff
path: root/engine/SCons/Tool/sunlink.py
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-16 05:58:16 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-11-16 05:58:16 +0100
commit60df8165e6be58369d76af4d38388c9846d82975 (patch)
tree827a72e604ad686e6817a40ff0dcaef405212276 /engine/SCons/Tool/sunlink.py
parent9948951ec4fcd3c29d7d7ba981de1d1fea275595 (diff)
parent6a570afd28bccdb118edde36488ba9834494d6c7 (diff)
Merge tag 'upstream/2.4.1'
Upstream version 2.4.1
Diffstat (limited to 'engine/SCons/Tool/sunlink.py')
-rw-r--r--engine/SCons/Tool/sunlink.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/SCons/Tool/sunlink.py b/engine/SCons/Tool/sunlink.py
index d8a941f..90f95bd 100644
--- a/engine/SCons/Tool/sunlink.py
+++ b/engine/SCons/Tool/sunlink.py
@@ -30,7 +30,7 @@ selection method.
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
-__revision__ = "src/engine/SCons/Tool/sunlink.py rel_2.4.0:3365:9259ea1c13d7 2015/09/21 14:03:43 bdbaddog"
+__revision__ = "src/engine/SCons/Tool/sunlink.py rel_2.4.1:3453:73fefd3ea0b0 2015/11/09 03:25:05 bdbaddog"
import os
import os.path
@@ -66,6 +66,10 @@ def generate(env):
env['RPATHSUFFIX'] = ''
env['_RPATH'] = '${_concat(RPATHPREFIX, RPATH, RPATHSUFFIX, __env__)}'
+ # Support for versioned libraries
+ link._setup_versioned_lib_variables(env, tool = 'sunlink', use_soname = True)
+ env['LINKCALLBACKS'] = link._versioned_lib_callbacks()
+
def exists(env):
return ccLinker