-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libssh/libressl] update to the latest version (#20067)
* [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
- Loading branch information
1 parent
d49854f
commit ee0584f
Showing
9 changed files
with
63 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | ||
index ccf5a33..8e88494 100644 | ||
index a576cf7..1f6a048 100644 | ||
--- a/src/CMakeLists.txt | ||
+++ b/src/CMakeLists.txt | ||
@@ -361,9 +361,9 @@ if (WITH_VISIBILITY_HIDDEN) | ||
set_target_properties(ssh PROPERTIES COMPILE_FLAGS "-fvisibility=hidden") | ||
@@ -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) | ||
set_target_properties(ssh PROPERTIES LINK_FLAGS "-Wl,--enable-stdcall-fixup") | ||
- set_target_properties(ssh PROPERTIES COMPILE_FLAGS "-D_POSIX_SOURCE") | ||
+ set_property(TARGET ssh APPEND PROPERTY COMPILE_FLAGS "-D_POSIX_SOURCE") | ||
target_link_libraries(ssh PRIVATE "-Wl,--enable-stdcall-fixup") | ||
target_compile_definitions(ssh PRIVATE "_POSIX_SOURCE") | ||
endif () | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 1f5b0bf..6559468 100644 | ||
index 53e6bd5..51d76c5 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -206,9 +206,11 @@ endif (WITH_SYMBOL_VERSIONING AND ABIMAP_FOUND) | ||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source DEPENDS ${_SYMBOL_TARGET}) | ||
@@ -231,10 +231,11 @@ endif (WITH_SYMBOL_VERSIONING AND ABIMAP_FOUND) | ||
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source DEPENDS ${_SYMBOL_TARGET} VERBATIM) | ||
|
||
# Link compile database for clangd | ||
+if(UNIX) | ||
execute_process(COMMAND cmake -E create_symlink | ||
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink | ||
"${CMAKE_BINARY_DIR}/compile_commands.json" | ||
"${CMAKE_SOURCE_DIR}/compile_commands.json") | ||
- | ||
+endif() | ||
|
||
message(STATUS "********************************************") | ||
message(STATUS "********** ${PROJECT_NAME} build options : **********") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters