Skip to content

Commit

Permalink
Pass use_default_shell_env = True for protoc (grpc#8984)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jesseschalken authored and temawi committed Apr 8, 2022
1 parent f6ae655 commit 3bf48e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions java_grpc_library.bzl
Expand Up @@ -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])
Expand Down

0 comments on commit 3bf48e4

Please sign in to comment.