[Scons-dev] [Scons-users] SharedLibrary + SHLIBVERSION and cygwin

Paweł Tomulik ptomulik at meil.pw.edu.pl
Sun Aug 30 22:45:18 EDT 2015


W dniu 28.08.2015 o 21:31, William Blevins pisze:

> [...]
> 
> Seems like the SharedLibrary builder should take a target_factory, such
> that, the output target is in the format libXXX.so.VERSION rather than
> returning the symlink and "mucking" with the object.  This way the
> dependency graph will be correct in structure and all the symlinks can
> be configured as SideEffects.  I know very little about Builder
> parameters and how _arg2node works though, so maybe someone can chime in
> and confirm my suspicion?
>  

Looks troublesome. The problem is with passing current environment (or
at least $SHLIBVERSION) to target factory. The target_factory is
initialized when Builder gets created, but at this stage, env usually
contains no SHLIBVERSION.


-- 
Pawel Tomulik


More information about the Scons-dev mailing list