[Scons-dev] sunar tool

Gary Oberbrunner garyo at oberbrunner.com
Sun Sep 20 07:38:05 EDT 2015


Looks like a bug to me.

On Sun, Sep 20, 2015 at 6:43 AM, Paweł Tomulik <ptomulik at meil.pw.edu.pl>
wrote:

> 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
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>



-- 
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150920/5e17ab01/attachment.html>


More information about the Scons-dev mailing list