mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 18:55:58 +01:00
Fix #3618 (libfontconfig.1.dylib picked up from wrong location)
This commit is contained in:
parent
52762051ea
commit
f95cf79346
1 changed files with 4 additions and 0 deletions
|
|
@ -253,6 +253,10 @@ def run(self):
|
|||
dest = os.path.join(frameworks_dir, os.path.basename(x))
|
||||
popps.append(dest)
|
||||
shutil.copy2(os.path.join('/Volumes/sw', x), dest)
|
||||
subprocess.check_call(['install_name_tool', '-change',
|
||||
'/usr/local/lib/libfontconfig.1.dylib',
|
||||
'@executable_path/../Frameworks/libfontconfig.1.dylib',
|
||||
os.path.join(frameworks_dir, 'pdftohtml')])
|
||||
x ='libpng12.0.dylib'
|
||||
shutil.copy2('/usr/local/lib/'+x, frameworks_dir)
|
||||
subprocess.check_call(['install_name_tool', '-id',
|
||||
|
|
|
|||
Loading…
Reference in a new issue