[Scons-dev] sunar tool
Paweł Tomulik
ptomulik at meil.pw.edu.pl
Sun Sep 20 06:43:25 EDT 2015
Hi,
during my work on shared library versioning I found these lines in
Tools/sunar.py (static library linker, in function generate()):
env['SHLINK'] = '$LINK'
env['SHLINKFLAGS'] = SCons.Util.CLVar('$LINKFLAGS -G')
env['SHLINKCOM'] = '$SHLINK $SHLINKFLAGS -o $TARGET $SOURCES
$_LIBDIRFLAGS $_LIBFLAGS'
Does anyone know, why the static library linker (sunar) sets the flags
of shared library builder? IMHO these should only be touched in
sunlink.py (default linker on sunos). As for now, the shared library
flags set in sunlink.py get overwritten by sunar.py which is quite
confusing.
Best Regards!
--
Pawel Tomulik
More information about the Scons-dev
mailing list