mapnik-org/mapnik — Issue #349: Enabling builds against different boost_python libs linked against two versions of python
Author: artemp
Created: 2011-10-11 07:50:46+00:00
State: open
Labels: Scons_Build_Scripts

You might ask, why?

On recent debian systems packagers of boost have begun to provide both:

{{{
libboost_python-*-py25.so/a
libboost_python-*-py26.so/a
}}}
So that apps needing to link against say, boost linked against python 25, can do so, even if the default python is python 26 (currently this way in Jaunty).

This is done when building boost with bjam by specifying:
{{{
bjam python=2.5,2.6
}}}

We need a hook in Mapnik scons to enable targeted building against one of these versions.