mirror of https://github.com/grpc/grpc-java.git
Pass use_default_shell_env = True for protoc (#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.
This commit is contained in:
parent
35a065dabc
commit
1a6840accd
|
@ -93,6 +93,7 @@ def _java_rpc_library_impl(ctx):
|
|||
outputs = [srcjar],
|
||||
executable = toolchain.protoc,
|
||||
arguments = [args],
|
||||
use_default_shell_env = True,
|
||||
)
|
||||
|
||||
deps_java_info = java_common.merge([dep[JavaInfo] for dep in ctx.attr.deps])
|
||||
|
|
Loading…
Reference in New Issue