summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool
diff options
context:
space:
mode:
authorPawel Tomulik <ptomulik@meil.pw.edu.pl>2015-09-20 02:21:27 (GMT)
committerPawel Tomulik <ptomulik@meil.pw.edu.pl>2015-09-20 02:21:27 (GMT)
commitcb508c9a37c2a3cd5fcf55cc1efd4c47a0abdd41 (patch)
treec678996a1a5aef0cc6dbe40c8f833f35d80dbbd1 /src/engine/SCons/Tool
parent9a43408e4419ba54733222df65a38a9d1a925b6d (diff)
downloadSCons-cb508c9a37c2a3cd5fcf55cc1efd4c47a0abdd41.zip
SCons-cb508c9a37c2a3cd5fcf55cc1efd4c47a0abdd41.tar.gz
SCons-cb508c9a37c2a3cd5fcf55cc1efd4c47a0abdd41.tar.bz2
fix broken soname generator
Diffstat (limited to 'src/engine/SCons/Tool')
-rw-r--r--src/engine/SCons/Tool/__init__.py3
-rw-r--r--src/engine/SCons/Tool/gnulink.py2
-rw-r--r--src/engine/SCons/Tool/sunlink.py2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/engine/SCons/Tool/__init__.py b/src/engine/SCons/Tool/__init__.py
index 357b765..96b9d98 100644
--- a/src/engine/SCons/Tool/__init__.py
+++ b/src/engine/SCons/Tool/__init__.py
@@ -567,8 +567,9 @@ class _LibSonameGenerator(_LibInfoGeneratorBase):
if Verbose:
print "_LibSonameGenerator: version=%r" % version
if version:
+ prefix = self.get_lib_prefix(env,**kw2)
suffix = self.get_lib_suffix(env,**kw2)
- soname = self.generate_versioned_lib_info(env, [libnode, version, suffix], **kw2)
+ soname = self.generate_versioned_lib_info(env, [libnode, version, prefix, suffix], **kw2)
if not soname:
# fallback to library name (as returned by appropriate _LibNameGenerator)
diff --git a/src/engine/SCons/Tool/gnulink.py b/src/engine/SCons/Tool/gnulink.py
index 92c38c4..2e0ed03 100644
--- a/src/engine/SCons/Tool/gnulink.py
+++ b/src/engine/SCons/Tool/gnulink.py
@@ -83,7 +83,7 @@ def generate(env):
'VersionedShLibName' : link._versioned_shlib_name,
'VersionedLdModName' : link._versioned_ldmod_name,
'VersionedShLibSoname' : link._versioned_shlib_soname,
- 'VersionedLdModSoname' : link._versioned_shlib_soname,
+ 'VersionedLdModSoname' : link._versioned_ldmod_soname,
}
def exists(env):
diff --git a/src/engine/SCons/Tool/sunlink.py b/src/engine/SCons/Tool/sunlink.py
index c9bb17d..751bf92 100644
--- a/src/engine/SCons/Tool/sunlink.py
+++ b/src/engine/SCons/Tool/sunlink.py
@@ -84,7 +84,7 @@ def generate(env):
'VersionedShLibName' : link._versioned_shlib_name,
'VersionedLdModName' : link._versioned_ldmod_name,
'VersionedShLibSoname' : link._versioned_shlib_soname,
- 'VersionedLdModSoname' : link._versioned_shlib_soname,
+ 'VersionedLdModSoname' : link._versioned_ldmod_soname,
}
def exists(env):