add rename_file and name to filestorage in python binding

This commit is contained in:
Arvid Norberg
2012-03-22 03:33:54 +00:00
parent bc851d317f
commit a63ae0650f
2 changed files with 16 additions and 7 deletions

View File

@@ -14,10 +14,12 @@ rule libtorrent_linking ( properties * )
result += <fpic>on ;
}
# if <toolset>gcc in $(properties) || <toolset>darwin in $(properties)
# {
# result += <visibility>hidden ;
# }
if <toolset>gcc in $(properties)
|| <toolset>darwin in $(properties)
|| <toolset>clang in $(properties)
{
result += <cxxflags>-fvisibility=hidden ;
}
# when building peer_plugin.cpp on msvc-7.1 it fails
# running out of internal heap space. Don't add it
@@ -35,11 +37,11 @@ rule libtorrent_linking ( properties * )
{
if <boost-link>static in $(properties) || <link>static in $(properties)
{
result += <library>/boost/python//boost_python/<boost-link>static ;
result += <library>/boost/python//boost_python/<link>static ;
}
else
{
result += <library>/boost/python//boost_python/<boost-link>shared ;
result += <library>/boost/python//boost_python/<link>shared ;
}
}
else