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:
> 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
> 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.
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