Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to avoid already defined symbols with shared linkage using some libraries as static?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-02 11:32:40


On 04/02/2011 06:56 AM, Dmitry Timoshenko wrote:
> Hello,
> I have two libraries: first (1) & second (2). The 2nd depends on 1st.
> The 1st library is only built as static (no dll, small library), but 2nd
> can also be built as shared object.
> 1st library also have dependensies on boost e.g. on boost_date_time
> libarary.
> How can I make bjam always use static boost libraries not depending on
> target's link feature?

Instead of /boost//date_time, use /boost//date_time/<link>static.

In Christ,
Steven Watanabe

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at