added -fPIC to python binding jamfile when building libtorrent, since it's a python module linking statically against libtorrent

This commit is contained in:
Arvid Norberg 2008-10-25 20:40:34 +00:00
parent 3f6a4f846e
commit 2c4ee11f30
1 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ python-extension libtorrent
<boost>system:<library>boost_python
<boost>source,<boost-link>static:<library>/boost/python//boost_python/<link>static
<boost>source,<boost-link>shared:<library>/boost/python//boost_python/<link>shared
<library>/torrent//torrent/<link>static
<toolset>gcc:<library>/torrent//torrent/<link>static/<cxxflags>-fPIC/<cflags>-fPIC
<toolset>!gcc:<library>/torrent//torrent/<link>static/<cxxflags>-fPIC/<cflags>-fPIC
;