Re: [Scons-dev] Using SHLIBVERSION fails on Solaris and probably all other unixes but Linux

2014-09-21 Thread alexandre . feblot
Pull request created: https://bitbucket.org/scons/scons/pull-request/186/attempt-to-fix-versionned-shared-library Le 19 sept. 2014 à 22:54, alexandre.feb...@gmail.com a écrit : I may, but I'm pretty sure my patch is OK for me but only for me, and I've no real clue on what is the correct way

[Scons-dev] Using SHLIBVERSION fails on Solaris and probably all other unixes but Linux

2014-09-19 Thread Alexandre Feblot
Hi, as the title says, it fails with the following error: IndexError: list index out of range in SCons/Tool/link.py. The reason is that versionned shared lib seem to be handled properly for unixes if PLATFORM=='posix', whereas on Solaris, it is detected assunos rather than posix. I tried to

Re: [Scons-dev] Using SHLIBVERSION fails on Solaris and probably all other unixes but Linux

2014-09-19 Thread Alexandre Feblot
So, I fixed point 2 by adding the same kind of fixes ( or platform == 'sunos') on : * required for sure: SCons/Tool/__init__.py line 259 SCons/Tool/__init__.py line 308 * not required but seems related, I don't really know: SCons/Tool/install.py line 152 SCons/Tool/install.py line 163