[Bazel/macOS] Use the constructed environment when running libtool. (#9965)

This fixes errors like: `SDKROOT: unbound variable` when building a cc_dist_library rule.
pull/9966/head
David L. Jones 3 years ago committed by GitHub
parent 088281d84b
commit 4e5b920625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/cc_dist_library.bzl

@ -51,7 +51,7 @@ def _create_archive_action(
cc_toolchain.all_files,
],
),
use_default_shell_env = True,
use_default_shell_env = False,
outputs = [output_file],
mnemonic = "CppArchiveDist",
)

Loading…
Cancel
Save