Subject: [boost] Python-extension: Linker options
From: Sergiy Nazarenko (nazarenko.sergiy_at_[hidden])
Date: 2011-07-29 03:15:40
I'm begginers to use bjam and boost.
I've built python-extension. I successfully compiled it by bjam. My Jamroot
file like this:
: ../../.. ;
: requirements <library>/boost/python//boost_python ;
python-extension myext : myext.cpp ;
And I have custom shared library with extra functions . Now I'm trying to
use extra functions in python library.
My questions is how put linker options in bjam project? Something like this:
If I append include options for a file, my MyLib.h is found but linker does
not find library itself.
I append like this:
python-extension myext : myext.cpp <include>/path/to/my/library/include;
I've tried to use following
but with these options my extension is not compiled.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk