14 lines
		
	
	
		
			465 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
		
			465 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
|   | diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
 | ||
|  | index a576cf7..1f6a048 100644
 | ||
|  | --- a/src/CMakeLists.txt
 | ||
|  | +++ b/src/CMakeLists.txt
 | ||
|  | @@ -359,7 +359,7 @@ if (WITH_VISIBILITY_HIDDEN)
 | ||
|  |      set_target_properties(ssh PROPERTIES C_VISIBILITY_PRESET hidden) | ||
|  |  endif (WITH_VISIBILITY_HIDDEN) | ||
|  |   | ||
|  | -if (MINGW)
 | ||
|  | +if (MINGW AND NOT ANDROID)
 | ||
|  |      target_link_libraries(ssh PRIVATE "-Wl,--enable-stdcall-fixup") | ||
|  |      target_compile_definitions(ssh PRIVATE "_POSIX_SOURCE") | ||
|  |  endif () |