calibre/calibre-0.7.27-python-fix.patch

11 lines
501 B
Diff
Raw Normal View History

2012-11-30 16:19:29 +04:00
--- a/setup/extensions.py 2011-12-29 15:00:50.833733423 +0100
+++ b/setup/extensions.py 2011-12-29 15:01:15.196670817 +0100
2012-02-02 00:20:04 +04:00
@@ -429,6 +429,7 @@ class Build(Command):
2012-02-01 22:04:55 +04:00
makefile=mf, universal=OSX_SDK, qt=1)
makefile.extra_lflags = qt_objects
makefile.extra_include_dirs = ext.inc_dirs
+ makefile.LIBS.append('-lpython'+sysconfig.get_python_version())
makefile.generate()
2012-02-02 00:20:04 +04:00
self.check_call([make, '-f', mf], cwd=src_dir)