[Scons-users] linker flags

Gary Oberbrunner garyo at oberbrunner.com
Sun Oct 28 15:25:58 EDT 2012


On Sun, Oct 28, 2012 at 1:04 PM, edA-qa mort-ora-y <eda-qa at disemia.com>wrote:


> I need to append some linker flags to the link command. If I use

> LINKFLAGS they are put before the objects being built, but I need them

> afterwards.

>


Try this (untested):

env['LINKCOM'] = '$LINKCOM $END_LINKFLAGS'
env['END_LINKFLAGS'] = ['-end1', '-end2']

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121028/33dbaa66/attachment.htm>


More information about the Scons-users mailing list