Files
MINGW-packages/mingw-w64-libssh/010-lld.patch
Biswapriyo Nath 65cc08eff4 libssh: Remove install script, use ninja
This fixes installation in ucrt and clang environments.
The cmake files are now modified with sed command to
add _IMPORT_PREFIX replacing full mingw prefix path.
2021-07-08 09:11:38 +05:30

11 lines
286 B
Diff

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -362,7 +362,6 @@
endif (WITH_VISIBILITY_HIDDEN)
if (MINGW)
- set_target_properties(ssh PROPERTIES LINK_FLAGS "-Wl,--enable-stdcall-fixup")
set_target_properties(ssh PROPERTIES COMPILE_FLAGS "-D_POSIX_SOURCE")
endif ()