calibre/calibre-0.7.27-python-fix.patch

13 lines
514 B
Diff
Raw Normal View History

2012-02-02 00:20:04 +04:00
diff --git a/setup/extensions.py b/setup/extensions.py
index ccff4b6..d3a4693 100644
--- a/setup/extensions.py
+++ b/setup/extensions.py
@@ -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)