[Scons-dev] Shared library support for < 2.3.4 as a Tool (Was: Tutorial for Linux versioned libraries)

anatoly techtonik techtonik at gmail.com
Sun May 24 08:01:30 EDT 2015


On Fri, May 15, 2015 at 5:58 PM, Bill Deegan <bill at baddogconsulting.com> wrote:
>
> I'm fairly certain this issue is handled (at least in default branch and
> 2.3.4).
>
> The main SConstruct set's the soname and doesn't use the SCons logic to do
> the shared library versioning:
> src/SConstruct  (line 165)
>>    if sys.platform.startswith("linux"):
>>
>> env.Append(SHLINKFLAGS="-Wl,-soname,${TARGET.file}.${libversion.split('.')[0]}")
...
>
> I've sent a pull request with the changes:
> https://github.com/techtonik/RHVoice/pull/1

That will mean that people will need scons 2.3.4, which is not
available even on Ubuntu LTS.

Can this feature be provided as a tool to be dropped into scons-site/
directory? So that it will activate itself for previous SCons
versions?
-- 
anatoly t.


More information about the Scons-dev mailing list