|
Boost-Build : |
Subject: Re: [Boost-build] linkflags not working with intel-linux toolset?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2009-01-21 14:22:55
John Maddock wrote:
>>> bjam linkflags=-lfoo gcc intel
>>>
>>> Then the gcc build gets the -lfoo added, but the intel build doesn't,
>>> any ideas anyone?
>>
>> What's the equivalent of "bjam linkflags=-lfoo" in a Jamfile?
>>
>> In other words, what has to be add to a Jamfile to say "if running the
>> gcc toolset on linux, add -lfoo to the linker command line"?
>
> Normally:
>
> <linkflags>-lfoo
>
> in the target requirements, or in the case you're thinking of
>
> <target-os>linux:<linkflags>-lfoo
Thanks for the tip!
> But while that works for gcc, the Intel toolset ignores the linkflags
> command, hense my post,
:-(
--Beman
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk