aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/protobuf/BUILD')
-rw-r--r--third_party/protobuf/BUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/third_party/protobuf/BUILD b/third_party/protobuf/BUILD
index 718f5f057b..02c7f2dcf9 100644
--- a/third_party/protobuf/BUILD
+++ b/third_party/protobuf/BUILD
@@ -20,10 +20,11 @@ filegroup(
filegroup(
name = "protoc",
srcs = select({
- "//third_party:windows_mingw": ["protoc-windows-x86_64.exe"],
- "//third_party:windows_msys64_mingw64": ["protoc-windows-x86_64.exe"],
- "//third_party:windows_msys64": ["protoc-windows-x86_64.exe"],
- "//third_party:windows_clang": ["protoc-windows-x86_64.exe"],
+ # protoc-windows-x86_64.exe can't deal with long path(length > 260), change to protoc-mingw.exe.
+ "//third_party:windows_mingw": ["protoc-mingw.exe"],
+ "//third_party:windows_msys64_mingw64": ["protoc-mingw.exe"],
+ "//third_party:windows_msys64": ["protoc-mingw.exe"],
+ "//third_party:windows_clang": ["protoc-mingw.exe"],
"//third_party:darwin": ["protoc-osx-x86_32.exe"],
"//third_party:k8": ["protoc-linux-x86_64.exe"],
"//third_party:piii": ["protoc-linux-x86_32.exe"],