|
Boost-Build : |
Subject: Re: [Boost-build] Building boost with static STLPort libraries
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-16 11:42:48
On Thursday 16 July 2009 Craig Henderson wrote:
> I am trying to compile Boost to use the static STLPort libraries, and am
> having no success. Building with dynamic STL is working fine.
>
>
>
> In diagnosing the problem, I have identified that _STLP_USE_DYNAMIC_LIB is
> being defined somehow (by adding the code below to STLPort/config/host.h.
>
>
>
> #if defined(_STLP_USE_DYNAMIC_LIB)
>
> #error _STLP_USE_DYNAMIC_LIB already defined
>
> #elif defined(_STLP_USE_STATIC_LIB)
>
> #error _STLP_USE_STATIC_LIB already defined
>
> #endif
>
>
>
> 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 ;
}
HTH,
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