Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2007-09-19 06:00:00


John Maddock wrote:

> Folks,
>
> I've had a couple of complaints now from people using Boost.Regex with
> STLport to the effect that they can't link against the regex lib's
> produced by bjam because these always reference the STLport dll's and not
> the static
> libraries. Looking in stlport.jam I see:
>
> if [ $(rproperties).get <runtime-debugging> ] = "on"
> {
> usage-requirements +=
> <define>_STLP_USE_DYNAMIC_LIB=1 ;
> }
>
> So it looks like whenever a debug build is built the STLport dll version
> is
> linked against regardless of the users intent? What was the rationale
> here?

I think this is covered in issue #1177 -- the above code is wrong,
and the issue has a fix. It's on my todo for this week to apply that patch.

- 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