fixes to python binding Jamfile

This commit is contained in:
Arvid Norberg 2008-05-15 06:49:38 +00:00
parent ffbc22dfc2
commit 7644b1de65
1 changed files with 2 additions and 18 deletions

View File

@ -2,23 +2,6 @@ import python ;
use-project /torrent : ../.. ;
# rule for linking the correct libraries depending
# on features and target-os
rule linking ( properties * )
{
local result ;
if <boost>system in $(properties)
{
result += <library>boost_python ;
}
if <boost>source in $(properties)
{
result += <library>/boost/python//boost_python ;
}
return $(result) ;
}
lib boost_python : : <name>boost_python $(library-search-path) ;
python-extension libtorrent
@ -44,6 +27,7 @@ python-extension libtorrent
src/ip_filter.cpp
/torrent//torrent
: <include>src
: <conditional>@linking
<boost>system:<library>boost_python
<boost>source:<library>/boost/python//boost_python
;