Files
MINGW-packages/mingw-w64-grpc/001-fix-linking.patch
2018-09-25 12:21:50 +03:00

12 lines
324 B
Diff

--- grpc-1.15.0/CMakeLists.txt.orig 2018-09-25 12:11:07.062984700 +0300
+++ grpc-1.15.0/CMakeLists.txt 2018-09-25 12:11:14.925398500 +0300
@@ -137,7 +137,7 @@
set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread)
endif()
-if(WIN32 AND MSVC)
+if(WIN32)
set(_gRPC_BASELIB_LIBRARIES wsock32 ws2_32)
endif()