[Scons-dev] sunar tool

Paweł Tomulik ptomulik at meil.pw.edu.pl
Sun Sep 20 07:39:49 EDT 2015


May I wipe them off? :)

W dniu 20.09.2015 o 13:38, Gary Oberbrunner pisze:
> Looks like a bug to me.
> 
> On Sun, Sep 20, 2015 at 6:43 AM, Paweł Tomulik <ptomulik at meil.pw.edu.pl
> <mailto: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 <mailto:Scons-dev at scons.org>
>     https://pairlist2.pair.net/mailman/listinfo/scons-dev
> 
> 
> 
> 
> -- 
> Gary
> 
> 
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
> 


-- 
Pawel Tomulik


More information about the Scons-dev mailing list