aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/cpp/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/cpp/BUILD')
-rw-r--r--src/main/cpp/BUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/cpp/BUILD b/src/main/cpp/BUILD
index 8ba825b41f..9b8289ecb1 100644
--- a/src/main/cpp/BUILD
+++ b/src/main/cpp/BUILD
@@ -47,6 +47,9 @@ cc_library(
],
"//src:freebsd": [
],
+ "//src:windows_msvc": [
+ "-Wl,ws2_32.lib", # for grpc
+ ],
"//conditions:default": [
"-lrt",
],
@@ -97,6 +100,8 @@ cc_binary(
"-lprocstat",
"-lm",
],
+ "//src:windows_msvc": [
+ ],
"//conditions:default": [
"-lrt",
"-ldl",