[Scons-dev] scons fails on solaris for serf, fix in serf or scons?

rupert THURNER rupert.thurner at gmail.com
Mon Sep 23 10:06:35 EDT 2013


hi,

scons fails on solaris, e.g. for the serf build used for subversion:
https://groups.google.com/forum/#!searchin/serf-dev/solaris/serf-dev/Miv9nqTg3g0/aQM9LPL3qGIJ

where alexander proposed fixing the serf build in the lines of:

> if sys.platform == 'sunos5':

> env.Append(LIBS='m')

> + env['PLATFORM'] = 'posix'

> else:


lieven suggested instead:
I think this should be fixed in SCons. There seem to be a few places
in the scons code related to versioned shared libraries where it only
checks for 'posix', not for 'sunos':
* engine/SCons/Tool/install.py - versionedLibVersion()
* engine/SCons/Tool/link.py - shlib_emitter_names()

what you think?

kr, rupert


More information about the Scons-dev mailing list