mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Fix link failure on MinGW due to use of CoInitialize.
ole32 is considered a default library with MSVC, but apparently not with MinGW. Since we use CoInitialize, we need to explicitly link against it in LLVMSupport for a MinGW build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236654 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| set(system_libs) | ||||
| if( NOT MSVC ) | ||||
|   if( MINGW ) | ||||
|     set(system_libs ${system_libs} imagehlp psapi shell32) | ||||
|     set(system_libs ${system_libs} imagehlp psapi shell32 ole32) | ||||
|   elseif( CMAKE_HOST_UNIX ) | ||||
|     if( HAVE_LIBRT ) | ||||
|       set(system_libs ${system_libs} rt) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user