packages/libs/rblibtorrent/patches/enable-shared-linking.patch

12 lines
528 B
Diff
Raw Normal View History

--- 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@