Boost logo

Boost-Build :

Subject: Re: [Boost-build] [EXTERNAL] cflags not being inherited
From: Paulo Márcio Figueiredo Alves (pauloalves1986_at_[hidden])
Date: 2014-02-12 15:34:26


I want to link statically with boost libraries.

On Wed, Feb 12, 2014 at 6:32 PM, Belcourt, Kenneth <kbelco_at_[hidden]>wrote:

>
> On Feb 12, 2014, at 1:23 PM, Paulo Márcio Figueiredo Alves wrote:
>
> > I'm trying to use boost like that
> >
> > use-project boost : /path/to/boost ;
> >
> > and it is working. But now I want to pass <cflags>-fPIC, I need boost to
> be compiled with it and do not want to write
> <target-os>linux:<library>boost/thread/<cflags>-fPIC.
> > I've tried to use
> >
> > project : requeriments <cflags>-fPIC ;
> >
> > but does not work anyway.
> >
> > Any ideas?
>
> project : requirements <link>shared ;
>
> should do it.
>
> -- Noel
>
> > _______________________________________________
> > Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>



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