packages/libs/rblibtorrent/patches/enable-shared-linking.patch
dingo 38b870d7f0 [patchteam] - New Package - Rasterbar libtorrent
Signed off by alexander@sulfrian.net


git-svn-id: svn://svn.openwrt.org/openwrt/packages@20173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-13 02:55:32 +00:00

12 lines
528 B
Diff

--- libtorrent-rasterbar-0.14.7/bindings/python/Makefile.in 2009-11-18 09:25:39.000000000 +0100
+++ libtorrent-rasterbar-0.14.7/bindings/python/Makefile.in 2010-02-26 13:27:58.000000000 +0100
@@ -408,7 +408,7 @@
@ENABLE_PYTHON_BINDING_TRUE@all-local:
-@ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py build
+@ENABLE_PYTHON_BINDING_TRUE@ CXX="$(CXX) -pthread -shared" $(PYTHON) setup.py build
@ENABLE_PYTHON_BINDING_TRUE@install-exec-local:
@ENABLE_PYTHON_BINDING_TRUE@ $(PYTHON) setup.py install @PYTHON_INSTALL_PARAMS@