Skip to content

Commit 1a6840a

Browse files
Pass use_default_shell_env = True for protoc (grpc#8984)
If protoc is compiled with MinGW it will depend on libstdc++-6.dll which is found in C:\msys64\mingw64\bin and can only be found by inheriting PATH from the environment.
1 parent 35a065d commit 1a6840a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java_grpc_library.bzl

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def _java_rpc_library_impl(ctx):
9393
outputs = [srcjar],
9494
executable = toolchain.protoc,
9595
arguments = [args],
96+
use_default_shell_env = True,
9697
)
9798

9899
deps_java_info = java_common.merge([dep[JavaInfo] for dep in ctx.attr.deps])

0 commit comments

Comments
 (0)