[Scons-dev] Tutorial for Linux versioned libraries
anatoly techtonik
techtonik at gmail.com
Tue May 19 08:49:52 EDT 2015
On Tue, May 19, 2015 at 12:32 AM, Alexandre Feblot <alexandre at feblot.fr> wrote:
> Hi,
>
> Anatoly, I may not understand what you’re after (and especially your 5
> questions), but I build and install versioned shared libraries successfully
> with SCons 2.3.4 on Linux (and since 2.3.2, I think).
> This PR (merged for 2.3.5 or 2.4) lets me use it properly too on Solaris:
> https://bitbucket.org/scons/scons/pull-request/186/attempt-to-fix-versionned-shared-library/diff
>From that file there is an example:
EnsureSConsVersion(2, 3, 3)
env = Environment()
env['SHLIBVERSION'] = '1.2.3'
env.SharedLibrary('SharedVersionedLib', 'file.c')
In RHVoice I have to build two versioned libs with different
numbers. How to setup that SHLIBVERSION for them?
More information about the Scons-dev
mailing list