|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-07-11 13:34:20
On Friday 11 July 2008 18:41:16 Mike Jackson wrote:
> How do I go about setting something either on the command line or in
> the user-config.jam file in order to set the "USER_OPTIONS" setting?
>
> I tried the obvious:
>
> USER_OPTIONS = " -headerpad_max_install_names " ;
>
> and then in darwin.jam I have the following:
>
> ECHO USER_OPTIONS are $(USER_OPTIONS) ;
>
> but I get an empty string.
>
> Thanks for any help on this.
First, note that this option is passed by SVN HEAD version of Boost.Build already.
Second, USER_OPTIONS is a variable internal to darwin.jam and/or gcc.jam, if you
try to poke at it, nothing good will happen.
Finally, you can use the following:
project user-config : requirements <linkerflags>"-headerpad_max_install_names" ;
in user-config.jam
- Volodya
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