[Scons-users] SCons puts the quoted LINKFLAGS value into the command line
    Yuri 
    yuri at rawbw.com
       
    Fri Dec 29 16:22:13 EST 2017
    
    
  
On 12/29/17 11:21, Yuri wrote:
>
> In my case, the FreeBSD framework supplies LINKFLAGS as an argument:
>
> MAKE_ARGS+=... LINKFLAGS="${LINKFLAGS}"...
>
>
> Code only has env.AppendUnique for some additional individual values, 
> like this: env.AppendUnique(LINKFLAGS=ldflag)
>
> It doesn't explicitly accept the LINKFLAGS supplied as an argument.
>
> Does it mean that arguments are automatically appended to env?
>
> How do I split that value in this case? 
I think, this is a bug in SCons.
LINKFLAGS with spaces, passed as an argument, need to be automatically 
converted to array, not used as-is.
So you agree?
Yuri
    
    
More information about the Scons-users
mailing list