]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libssh/0002-mingw_for_Android.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libssh / 0002-mingw_for_Android.patch
1 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
2 --- a/src/CMakeLists.txt (revision 0cceefd49d4d397eb21bd36e314ac87739da51ff)
3 +++ b/src/CMakeLists.txt (date 1617870624653)
4 @@ -361,7 +361,7 @@
5 set_target_properties(ssh PROPERTIES COMPILE_FLAGS "-fvisibility=hidden")
6 endif (WITH_VISIBILITY_HIDDEN)
7
8 -if (MINGW)
9 +if (MINGW AND NOT ANDROID)
10 set_target_properties(ssh PROPERTIES LINK_FLAGS "-Wl,--enable-stdcall-fixup")
11 set_target_properties(ssh PROPERTIES COMPILE_FLAGS "-D_POSIX_SOURCE")
12 endif ()