Boost logo

Boost-Build :

Subject: Re: [Boost-build] Building boost with static STLPort libraries
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-25 03:12:37


On Thursday 16 July 2009 Craig Henderson wrote:

> > >
> > > Grepping the Boost header files I cannot find any definition, nor in the
> > > .jam files. I assume I am missing something obvious - can someone point
> me
> > > in the right direction, please?
> >
> > tools/stlport.jam:
> >
> > if [ $(rproperties).get <runtime-link> ] = "shared"
> > {
> > usage-requirements +=
> > <define>_STLP_USE_DYNAMIC_LIB=1 ;
> > }
>
> Thanks Volodya. What is the "correct" way to configure the boost build to
> use the static stlport library, but still use the dynamic RTL?
>
> Clearly I could hack the .jam file, but that's not a good solution.

Craig,

I am not sure anybody tries that. Maybe:

        exe a : a.cpp /stlport//stlport/<runtime-link>shared ;

will work (in which case you should *not* use stdlib=stlport)

- 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