mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-18 22:03:42 +02:00
Fix #3647 (No file libffi in linux - v 6.14)
This commit is contained in:
parent
181ff1e0aa
commit
503d258f4f
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ def run(self, opts):
|
|||
|
||||
is64bit = platform.architecture()[0] == '64bit'
|
||||
arch = 'x86_64' if is64bit else 'i686'
|
||||
ffi = '/usr/lib/libffi.so.5' if is64bit else '/usr/lib/gcc/i686-pc-linux-gnu/4.4.1/libffi.so.4'
|
||||
|
||||
|
||||
QTDIR = '/usr/lib/qt4'
|
||||
|
|
@ -58,6 +59,7 @@ def run(self, opts):
|
|||
'/usr/lib/libgthread-2.0.so.0',
|
||||
'/usr/lib/gcc/***-pc-linux-gnu/4.4.1/libstdc++.so.6'.replace('***',
|
||||
arch),
|
||||
ffi,
|
||||
'/usr/lib/libpng12.so.0',
|
||||
'/usr/lib/libexslt.so.0',
|
||||
'/usr/lib/libMagickWand.so.2',
|
||||
|
|
@ -65,7 +67,6 @@ def run(self, opts):
|
|||
'/usr/lib/libgcrypt.so.11',
|
||||
'/usr/lib/libgpg-error.so.0',
|
||||
'/usr/lib/libphonon.so.4',
|
||||
'/usr/lib/libffi.so.5',
|
||||
'/usr/lib/libssl.so.0.9.8',
|
||||
'/usr/lib/libcrypto.so.0.9.8',
|
||||
'/lib/libreadline.so.6',
|
||||
|
|
|
|||
Loading…
Reference in a new issue