fixes to python binding Jamfile
This commit is contained in:
parent
ffbc22dfc2
commit
7644b1de65
|
@ -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
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue