mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Fix #3618 (libfontconfig.1.dylib picked up from wrong location)
This commit is contained in:
		
							parent
							
								
									52762051ea
								
							
						
					
					
						commit
						f95cf79346
					
				@ -253,6 +253,10 @@ os.execv(python, args)
 | 
				
			|||||||
            dest = os.path.join(frameworks_dir, os.path.basename(x))
 | 
					            dest = os.path.join(frameworks_dir, os.path.basename(x))
 | 
				
			||||||
            popps.append(dest)
 | 
					            popps.append(dest)
 | 
				
			||||||
            shutil.copy2(os.path.join('/Volumes/sw', x), 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'
 | 
					        x ='libpng12.0.dylib'
 | 
				
			||||||
        shutil.copy2('/usr/local/lib/'+x, frameworks_dir)
 | 
					        shutil.copy2('/usr/local/lib/'+x, frameworks_dir)
 | 
				
			||||||
        subprocess.check_call(['install_name_tool', '-id',
 | 
					        subprocess.check_call(['install_name_tool', '-id',
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user