[prev in list] [next in list] [prev in thread] [next in thread]
List: boost
Subject: [boost] Python-extension: Linker options
From: Sergiy Nazarenko <nazarenko.sergiy () gmail ! com>
Date: 2011-07-29 7:15:40
Message-ID: CAHbuS7KWPVDE5WXYtdeMORkvpYwA21C3r0p05Wyba0OVH3ytmw () mail ! gmail ! com
[Download RAW message or body]
Hi everyone!
I'm begginers to use bjam and boost.
I've built python-extension. I successfully compiled it by bjam. My Jamroot
file like this:
use-project boost
: ../../.. ;
project
: 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:
-L/path/to/my/library/lib64/ -lmylib.0.1
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
# <library-path>/path/to/my/library/lib64/
# <library-file>mylib.0.1.so
but with these options my extension is not compiled.
Cheers,
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic