Link libgcc statically in pair with libstdc++
This commit is contained in:
		
							parent
							
								
									c94b46f2fd
								
							
						
					
					
						commit
						a4257299f6
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -78,6 +78,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED) | ||||||
|         target_link_options(common_options |         target_link_options(common_options | ||||||
|         INTERFACE |         INTERFACE | ||||||
|             -static-libstdc++ |             -static-libstdc++ | ||||||
|  |             -static-libgcc | ||||||
|         ) |         ) | ||||||
|     elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") |     elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | ||||||
|         target_link_static_libraries(common_options |         target_link_static_libraries(common_options | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ilya Fedin
						Ilya Fedin