[Scons-users] SCons puts the quoted LINKFLAGS value into the command line

Yuri yuri at rawbw.com
Fri Dec 29 14:21:39 EST 2017


On 12/29/17 10:01, Mats Wichmann wrote:
> split the link information into distinct arguments when adding to
> LINKFLAGS. You can do that manually (write it as a list/tuple), or use
> the Python split(), or the SCons Split().


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?


Yuri



More information about the Scons-users mailing list