mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	Tests: link with -static on MinGW
				
					
				
			This commit is contained in:
		| @@ -92,3 +92,9 @@ if(MSVC) | |||||||
| 		) | 		) | ||||||
| 	endif() | 	endif() | ||||||
| endif() | endif() | ||||||
|  |  | ||||||
|  | if(MINGW) | ||||||
|  |   # Static link on MinGW to avoid linking with the wrong DLLs when multiple | ||||||
|  | 	# versions are installed. | ||||||
|  | 	add_link_options(-static) | ||||||
|  | endif() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user