Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-09-26 18:11:42


"K. Noel Belcourt" <kbelco_at_[hidden]> writes:

> Hi,
>
> Not sure when the -F framework option was introduced into the
> darwin.jam,

Just days ago.

> but I believe it is erroneous to pass -F to ld without an
> argument.

That shouldn't happen. If it's happening; I think it's a bjam bug, or
you have somehow got <framework>"" as one of your build
properties... or you have FRAMEWORK defined in your environment or on
the bjam command-line.
That's probably it, in which case this is a BBv2 bug. The incantation

    flags darwin.link FRAMEWORK <framework> ;

should cause the $(FRAMEWORK) variable on all targets created with
darwin.link and darwin.link.dll to be set, either to the value of the
framework property if any, or to be empty, so that it isn't picked up
in the environment. It's the latter case that isn't getting handled.

Volodya?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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