Remove special casing for libjpeg and libpoppler as install names are now fixed at build time

This commit is contained in:
Kovid Goyal 2019-09-05 23:31:47 +05:30
parent edbd56bbb1
commit 0024a7f8e8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -259,10 +259,6 @@ 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.startswith('@rpath/libjpeg'):
yield x, x[len('@rpath/'):], is_id
elif x.startswith('@rpath/libpoppler'):
yield x, x[len('@rpath/'):], is_id
else: else:
for y in (PREFIX + '/lib/', PREFIX + '/python/Python.framework/'): for y in (PREFIX + '/lib/', PREFIX + '/python/Python.framework/'):
if x.startswith(y): if x.startswith(y):