mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 10:37:00 -04:00 
			
		
		
		
	xwin does not need ole header case fixes anymore
This commit is contained in:
		
							parent
							
								
									472c1f0a83
								
							
						
					
					
						commit
						088954ae65
					
				| @ -2,7 +2,6 @@ | ||||
| # License: GPLv3 Copyright: 2023, Kovid Goyal <kovid at kovidgoyal.net> | ||||
| 
 | ||||
| 
 | ||||
| import os | ||||
| import shutil | ||||
| 
 | ||||
| from setup import Command | ||||
| @ -22,8 +21,5 @@ class XWin(Command): | ||||
|             except FileNotFoundError: | ||||
|                 raise SystemExit('xwin not found install it from https://github.com/Jake-Shadle/xwin/releases') | ||||
|         subprocess.check_call(cmd + ['splat', '--output', output_dir]) | ||||
|         base = f'{output_dir}/sdk/include/um' | ||||
|         for casefix in 'Ole2.h OleCtl.h OAIdl.h OCIdl.h'.split(): | ||||
|             os.link(f'{base}/{casefix.lower()}', f'{base}/{casefix}') | ||||
|         shutil.rmtree(f'{cache_dir}/dl') | ||||
|         shutil.rmtree(f'{cache_dir}/unpack') | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user