aboutsummaryrefslogtreecommitdiff
path: root/ports/grpc/disable-csharp-ext-2.patch
diff options
context:
space:
mode:
authoreao197 <eao197@gmail.com>2018-04-24 11:46:00 +0300
committereao197 <eao197@gmail.com>2018-04-24 11:46:00 +0300
commit34257a50ceda0bfa05e59b532f71223b70f39d52 (patch)
tree6dfff9ccf2dc8f26ed4c96e13c4afdd7a33f0767 /ports/grpc/disable-csharp-ext-2.patch
parent4550e44e7a451ffec9160f74ea9856db40bfa47e (diff)
parentf703f60bd0064c3aeb116982812a3745817d30fe (diff)
downloadvcpkg-34257a50ceda0bfa05e59b532f71223b70f39d52.tar.gz
vcpkg-34257a50ceda0bfa05e59b532f71223b70f39d52.zip
Merge https://github.com/Microsoft/vcpkg
Diffstat (limited to 'ports/grpc/disable-csharp-ext-2.patch')
-rw-r--r--ports/grpc/disable-csharp-ext-2.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/ports/grpc/disable-csharp-ext-2.patch b/ports/grpc/disable-csharp-ext-2.patch
new file mode 100644
index 000000000..1bc863105
--- /dev/null
+++ b/ports/grpc/disable-csharp-ext-2.patch
@@ -0,0 +1,20 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 0dc0bd3..7f702cc 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -4699,6 +4699,7 @@ endif (gRPC_BUILD_TESTS)
+
+ option(gRPC_INSTALL_CSHARP_EXT "" ON)
+
++if(gRPC_INSTALL_CSHARP_EXT)
+ add_library(grpc_csharp_ext SHARED
+ src/csharp/ext/grpc_csharp_ext.c
+ )
+@@ -4741,6 +4742,7 @@ if (gRPC_INSTALL AND gRPC_INSTALL_CSHARP_EXT)
+ ARCHIVE DESTINATION ${gRPC_INSTALL_LIBDIR}
+ )
+ endif()
++endif()
+
+ if (gRPC_BUILD_TESTS)
+