merged jamfile fixes from RC_0_16
This commit is contained in:
4
Jamfile
4
Jamfile
@@ -257,7 +257,8 @@ rule building ( properties * )
|
||||
|
||||
if ( <toolset>darwin in $(properties)
|
||||
|| <toolset>gcc in $(properties)
|
||||
|| <toolset>clang in $(propertoes) )
|
||||
|| <toolset>clang in $(propertoes)
|
||||
|| <toolset>clang-darwin in $(propertoes) )
|
||||
&& <link>shared in $(properties)
|
||||
# on GCC, enabling debugging in libstdc++
|
||||
# breaks the ABI and its ability to appear
|
||||
@@ -596,6 +597,7 @@ local usage-requirements =
|
||||
<toolset>gcc,<variant>debug:<cflags>-ftrapv
|
||||
<toolset>darwin,<variant>debug:<cflags>-ftrapv
|
||||
<toolset>clang:<cflags>-Wno-invalid-offsetof
|
||||
<toolset>clang-darwin:<cflags>-Wno-invalid-offsetof
|
||||
<boost>system:<cxxflags>$(CXXFLAGS)
|
||||
<boost>system:<linkflags>$(LDFLAGS)
|
||||
# this works around a bug in asio in boost-1.39
|
||||
|
@@ -17,20 +17,28 @@ rule libtorrent_linking ( properties * )
|
||||
if <toolset>gcc in $(properties)
|
||||
|| <toolset>darwin in $(properties)
|
||||
|| <toolset>clang in $(properties)
|
||||
|| <toolset>clang-darwin in $(properties)
|
||||
{
|
||||
result += <cxxflags>-fvisibility=hidden ;
|
||||
}
|
||||
|
||||
if <boost>source in $(properties)
|
||||
{
|
||||
if <boost-link>static in $(properties) || <link>static in $(properties)
|
||||
if <boost-link>static in $(properties)
|
||||
{
|
||||
result += <library>/boost/python//boost_python/<link>static ;
|
||||
result += <library>/torrent//torrent/<link>static ;
|
||||
}
|
||||
else
|
||||
{
|
||||
result += <library>/boost/python//boost_python/<link>shared ;
|
||||
}
|
||||
|
||||
if <link>static in $(properties)
|
||||
{
|
||||
result += <library>/torrent//torrent/<link>static ;
|
||||
}
|
||||
else
|
||||
{
|
||||
result += <library>/torrent//torrent/<link>shared/<boost-link>shared ;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user