env = Environment()
env.SharedLibrary('SharedVersionedLib', 'file.c', SHLIBVERSION = '1.2.3')
env.SharedLibrary('OtherSharedVersionedLib', 'file.c', SHLIBVERSION =
'2.3.4')creates libOtherSharedVersionedLib.so -> libOtherSharedVersionedLib.so.2* libOtherSharedVersionedLib.so.2 -> libOtherSharedVersionedLib.so.2.3.4* libOtherSharedVersionedLib.so.2.3.4* libSharedVersionedLib.so -> libSharedVersionedLib.so.1* libSharedVersionedLib.so.1 -> libSharedVersionedLib.so.1.2.3* libSharedVersionedLib.so.1.2.3* 2015-05-19 14:49 GMT+02:00 anatoly techtonik <[email protected]>: > On Tue, May 19, 2015 at 12:32 AM, Alexandre Feblot <[email protected]> > 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? > _______________________________________________ > Scons-dev mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/scons-dev >
_______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
