forked from premiere/premiere-libtorrent
fix python binding build on linux for pthread linking
This commit is contained in:
parent
078b568009
commit
38512a3b79
|
@ -37,7 +37,10 @@ rule libtorrent_linking ( properties * )
|
|||
|
||||
if <boost>source in $(properties)
|
||||
{
|
||||
if <boost-link>shared in $(properties)
|
||||
# linux must link dynamically against boost python because it pulls
|
||||
# in libpthread, which must be linked dynamically since we're building a .so
|
||||
# (the static build of libpthread is not position independent)
|
||||
if <boost-link>shared in $(properties) || <target-os>linux in $(properties)
|
||||
{
|
||||
result += <library>/boost/python//boost_python/<link>shared ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue