diff options
author | plf <plf@google.com> | 2018-01-12 08:20:57 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-12 08:26:39 -0800 |
commit | 849cec256c606db47dc179c788f937d7482087ae (patch) | |
tree | d18b7131493c353c78103c1f573868216b0d817b /scripts | |
parent | 38f815c2c8a4bc4d6cf79d366d200e37fa0935f3 (diff) |
C++: Only call link() in cc_binary when linkCompileOutputSeparately is true.
Also rename setLinkType() to setStaticLinkType() in CcLibraryHelper to make it clear that we are setting the specific linking type for the static library.
This is an improved version of https://github.com/bazelbuild/bazel/commit/a705eaa9225ff8a03975c8cb49faa6b2899e398d which was rolled back due to a previous conflicting CL causing problems in the nightly.
RELNOTES:none
PiperOrigin-RevId: 181746447
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions