aboutsummaryrefslogtreecommitdiff
path: root/ports/grpc/00007-disable_grpcpp_channelz.patch
diff options
context:
space:
mode:
authorJozef Izso <jozef.izso@gmail.com>2019-09-09 17:59:28 +0200
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-09 08:59:28 -0700
commit135474a7302ea6043d5eecef6e27daf7fe36b24b (patch)
tree6c0e7be9f9fe114646304ba5abec318f7329dcee /ports/grpc/00007-disable_grpcpp_channelz.patch
parente87cc3abb7c1cc9b3c4cb0ca81984bcd58b87aaa (diff)
downloadvcpkg-135474a7302ea6043d5eecef6e27daf7fe36b24b.tar.gz
vcpkg-135474a7302ea6043d5eecef6e27daf7fe36b24b.zip
[grpc] Update grpc to 1.23.0 (#8109)
Diffstat (limited to 'ports/grpc/00007-disable_grpcpp_channelz.patch')
-rw-r--r--ports/grpc/00007-disable_grpcpp_channelz.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/ports/grpc/00007-disable_grpcpp_channelz.patch b/ports/grpc/00007-disable_grpcpp_channelz.patch
new file mode 100644
index 000000000..336077290
--- /dev/null
+++ b/ports/grpc/00007-disable_grpcpp_channelz.patch
@@ -0,0 +1,34 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 1961995..d721654 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -4692,7 +4692,7 @@ if (gRPC_INSTALL)
+ endif()
+
+
+-if (gRPC_BUILD_CODEGEN)
++if (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
+ add_library(grpcpp_channelz
+ src/cpp/server/channelz/channelz_service.cc
+ src/cpp/server/channelz/channelz_service_plugin.cc
+@@ -4749,7 +4749,7 @@ foreach(_hdr
+ endforeach()
+
+
+-if (gRPC_BUILD_CODEGEN)
++if (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
+
+ if (gRPC_INSTALL)
+ install(TARGETS grpcpp_channelz EXPORT gRPCTargets
+@@ -4758,9 +4758,9 @@ if (gRPC_INSTALL)
+ ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
+ )
+ endif()
+-endif (gRPC_BUILD_CODEGEN)
++endif (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
+
+-endif (gRPC_BUILD_CODEGEN)
++endif (gRPC_BUILD_CODEGEN AND NOT gRPC_USE_PROTO_LITE)
+ if (gRPC_BUILD_TESTS)
+
+ if (gRPC_BUILD_CODEGEN)