Fix linking of libstemmer.dylib

This commit is contained in:
Kovid Goyal 2021-06-25 08:45:07 +05:30
parent e699841551
commit fe81410c74
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -255,7 +255,7 @@ class Freeze(object):
for x, is_id in self.get_dependencies(path_to_lib):
if x.startswith('@rpath/Qt'):
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
else:
for y in (PREFIX + '/lib/', PREFIX + '/python/Python.framework/'):