diff --git a/bindings/python/Jamfile b/bindings/python/Jamfile index 21a598c82..96de72d87 100755 --- a/bindings/python/Jamfile +++ b/bindings/python/Jamfile @@ -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 system in $(properties) - { - result += boost_python ; - } - - if source in $(properties) - { - result += /boost/python//boost_python ; - } - return $(result) ; -} - lib boost_python : : boost_python $(library-search-path) ; python-extension libtorrent @@ -44,6 +27,7 @@ python-extension libtorrent src/ip_filter.cpp /torrent//torrent : src - : @linking + system:boost_python + source:/boost/python//boost_python ;