termux-packages/packages/libgrpc/CMakeLists.txt.patch

27 lines
666 B
Diff
Raw Normal View History

2020-03-08 22:32:32 +01:00
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f6de091a0c..d21e04a24d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -205,7 +205,7 @@ if(_gRPC_PLATFORM_MAC OR _gRPC_PLATFORM_IOS)
elseif(_gRPC_PLATFORM_ANDROID)
set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m)
2017-07-11 11:50:43 +02:00
elseif(UNIX)
- set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} rt m pthread)
+ set(_gRPC_ALLTARGETS_LIBRARIES ${CMAKE_DL_LIBS} m)
endif()
if(WIN32 AND MSVC)
2020-03-08 22:32:32 +01:00
@@ -1432,12 +1432,6 @@ target_link_libraries(gpr
absl::strings
absl::optional
2018-05-25 12:43:31 +02:00
)
2020-03-08 22:32:32 +01:00
-if(_gRPC_PLATFORM_ANDROID)
2018-05-25 12:43:31 +02:00
- target_link_libraries(gpr
- android
- log
- )
2020-03-08 22:32:32 +01:00
-endif()
2018-05-25 12:43:31 +02:00
foreach(_hdr
include/grpc/support/alloc.h