mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix linking of libstemmer.dylib
This commit is contained in:
parent
e699841551
commit
fe81410c74
@ -255,7 +255,7 @@ class Freeze(object):
|
|||||||
for x, is_id in self.get_dependencies(path_to_lib):
|
for x, is_id in self.get_dependencies(path_to_lib):
|
||||||
if x.startswith('@rpath/Qt'):
|
if x.startswith('@rpath/Qt'):
|
||||||
yield x, x[len('@rpath/'):], is_id
|
yield x, x[len('@rpath/'):], is_id
|
||||||
elif x == 'libunrar.dylib' and not is_id:
|
elif x in ('libunrar.dylib', 'libstemmer.0.dylib', 'libstemmer.dylib') and not is_id:
|
||||||
yield x, x, is_id
|
yield x, x, is_id
|
||||||
else:
|
else:
|
||||||
for y in (PREFIX + '/lib/', PREFIX + '/python/Python.framework/'):
|
for y in (PREFIX + '/lib/', PREFIX + '/python/Python.framework/'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user