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.
11 lines
286 B
Diff
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 ()
|
|
|