mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2020855 [Error while saving book](https://bugs.launchpad.net/calibre/+bug/2020855)
This commit is contained in:
parent
31629d5964
commit
59ba5f8d1b
@ -270,7 +270,7 @@ class Freeze:
|
||||
@flush
|
||||
def get_local_dependencies(self, path_to_lib):
|
||||
for x, is_id in self.get_dependencies(path_to_lib):
|
||||
if x.startswith('@rpath/Qt') or x.startswith('@rpath/libexpat'):
|
||||
if x.startswith('@rpath/Qt') or x.startswith('@rpath/libexpat') or x.startswith('@rpath/libpodofo') or x.startswith('@rpath/libzstd'):
|
||||
yield x, x[len('@rpath/'):], is_id
|
||||
elif x in ('libunrar.dylib', 'libstemmer.0.dylib', 'libstemmer.dylib') and not is_id:
|
||||
yield x, x, is_id
|
||||
@ -476,7 +476,7 @@ class Freeze:
|
||||
@flush
|
||||
def add_podofo(self):
|
||||
print('\nAdding PoDoFo')
|
||||
pdf = join(PREFIX, 'lib', 'libpodofo.0.10.0.dylib')
|
||||
pdf = join(PREFIX, 'lib', 'libpodofo.1.dylib')
|
||||
self.install_dylib(pdf)
|
||||
|
||||
@flush
|
||||
|
Loading…
x
Reference in New Issue
Block a user