From: Michael Krasnyk (miha_at_[hidden])
Date: 2006-05-17 11:45:30


Hello,

I have Jamroot file to make a python extension:

using python ;
import python ;

python-extension hello
     : hello.cpp
     : <include>/usr/local/include/boost-1_33_1
       <include>/usr/local/include/python2.4
       <library-path>/usr/local/lib
       <find-shared-library>boost_python-gcc-mt
  ;

install dist : hello ;

The file hello.cpp is from the Boost.Python tutorial.

The first problem is how to specify automatically
suffixes gcc, mt in the line
<find-shared-library>boost_python-gcc-mt or
make in other way linking with boost_python library?

The second problem is that bjam produces libhello.so.
How it's possible to make it as hello.so?

With BBv1 Jamfile evrething works ok,
but i've tried to use BBv2.

TIA,
Michael Krasnyk