Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam - windows - dll
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-11-28 03:23:00


On Saturday 28 November 2009 02:53:41 Anant Rao wrote:

> Hi,
>
> I'm attaching a zip file that contains 3 files:
>
> user-config.jam
> Jamroot
> Jamfile
>
> I genuinely tried to provide my question as simple as possible. In that process, I committed a typo, which I certainly understand leads to confusion. Sorry.
>
> As I'm anyway sending all my bjam files, could you please also offer advice - in getting rid of code ugliness or make it more efficient?

You Jamroot has this in requirements:

        <toolset>msvc:<link>static

So, naturally, everything is built statically, everywhere. You need to either:

- Remove that requirement in Jamroot
- Add additional <link>shared requirement on your library
- Cancel out Jamroot's requirement by adding -<toolset>msvc:<link>static requirement on your library

Does this help?

- 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