Boost logo

Boost-Build :

Subject: Re: [Boost-build] [EXTERNAL] cflags not being inherited
From: Thomas Suckow (thomas.suckow_at_[hidden])
Date: 2014-02-12 15:45:44

On 02/12/2014 12:34 PM, Paulo Márcio Figueiredo Alves wrote:
> I want to link statically with boost libraries.

Take a look at

I believe what you want to do is force your library to be shared:
lib l : l.cpp : <link>shared ;

And when you use boost, force it to be static:
lib l : l.cpp /boost//thread/<link>static : <link>shared ;

Boost-build should then do the right thing I believe.


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