calibre/calibre-2.75.1-linkage.patch
2016-12-29 15:12:43 +02:00

13 lines
651 B
Diff

diff -urN calibre-2.75.1/setup/build.py calibre-2.75.1-patched/setup/build.py
--- calibre-2.75.1/setup/build.py 2016-12-25 14:32:55.000000000 +1000
+++ calibre-2.75.1-patched/setup/build.py 2016-12-29 22:50:09.318861256 +1000
@@ -433,6 +433,9 @@
macx {{
QMAKE_LFLAGS += "-undefined dynamic_lookup"
}}
+ unix {{
+ LIBS += "-lpython2.7"
+ }}
''').format(
target=sip['target'], headers=' '.join(sip['headers'] + ext.headers), sources=' '.join(ext.sources + sip['sources']),
sipinc=pyqt['sip_inc_dir'], pyinc=sysconfig.get_python_inc(), py_lib=py_lib,