mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 06:09:08 +08:00
ee0584f050
* [libssh/libssh2/libssh2] update to the latest version * update version * update patches formating * update version * update hash512 * update version' * fix CI build error * update version * update vcpkg.json and portifile.cmake * update version * delete hash * update version * revert libssh2 * update version * revert libssh2 * update portfile.cmake * update version
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 ()
|