[Scons-users] Cyclic references between lib archives
Dirk Bächle
tshortik at gmx.de
Wed Feb 4 17:04:06 EST 2015
On 04.02.2015 22:55, Ivan Kravets wrote:
>
>> On Feb 4, 2015, at 23:26, Dirk Bächle <tshortik at gmx.de> wrote:
>>
>> [...]
>>
> I tried it early. It doesn't work because the order of options to gcc is incorrect. See example based on your link:
> deplibs = [.....]
> corelibs=["m"]
> env.(STATIC_LIBS=deplibs)
>
> env.Append(
> LINKFLAGS=[
> Split('-Wl,--start-group $STATIC_LIBS -Wl,--end-group')
> ],
> )
Sorry, but this is not really based on the given example...you're appending to LINKFLAGS, while the referenced solution appends to
LINKCOM directly.
Have you tried that as well?
Dirk
More information about the Scons-users
mailing list