Open Media Library Platform (Darwin)
This commit is contained in:
commit
5be0d7d916
16 changed files with 273 additions and 0 deletions
25
build/libtorrent/build.sh
Executable file
25
build/libtorrent/build.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
cd `dirname $0`
|
||||
. ../env
|
||||
|
||||
name=libtorrent-rasterbar-0.16.12
|
||||
rm -rf $name
|
||||
tar xzf $src/$name.tar.gz
|
||||
cd $name
|
||||
|
||||
export PATH=$prefix/bin:$PATH
|
||||
|
||||
sed "s/if platform.system() != 'Darwin': //g" bindings/python/setup.py.in > setup.py.in
|
||||
mv setup.py.in bindings/python/setup.py.in
|
||||
|
||||
#breaks boost 1.54
|
||||
# --disable-encryption \
|
||||
|
||||
./configure \
|
||||
--enable-python-binding \
|
||||
--with-boost=$prefix \
|
||||
--prefix=$prefix
|
||||
make && make install
|
||||
install_name_tool -change "$prefix/lib/libtorrent-rasterbar.7.dylib" "@rpath/libtorrent-rasterbar.7.dylib" $prefix/lib/python2.7/site-packages/libtorrent.so
|
||||
install_name_tool -change "libboost_system.dylib" "@rpath/libboost_system.dylib" $prefix/lib/python2.7/site-packages/libtorrent.so
|
||||
install_name_tool -change libboost_system.dylib @rpath/libboost_system.dylib $prefix/lib/libtorrent-rasterbar.7.dylib
|
||||
Loading…
Add table
Add a link
Reference in a new issue