early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/libssh/0002-mingw_for_Android.patch
vendored
Executable file
13
externals/vcpkg/ports/libssh/0002-mingw_for_Android.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
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 ()
|
Reference in New Issue
Block a user