diff options
author | Reid Kleckner <rnk@google.com> | 2019-04-04 00:31:19 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2019-04-04 00:31:19 +0000 |
commit | cfdd0cb5d9c69fbe4b259cdabbe14c0abc3f15ad (patch) | |
tree | 94516bc05c9befa960e66790449171648bad32b0 | |
parent | 051bd16faf26510cfceef94a5763d5adb951fc24 (diff) | |
download | llvm-cfdd0cb5d9c69fbe4b259cdabbe14c0abc3f15ad.zip llvm-cfdd0cb5d9c69fbe4b259cdabbe14c0abc3f15ad.tar.gz llvm-cfdd0cb5d9c69fbe4b259cdabbe14c0abc3f15ad.tar.bz2 |
[gn] Use "$link /lib" for archives instead of lib.exe
Summary:
This avoids the need to talk about lib.exe or llvm-lib.exe and it does
the right thing with LLD.
Reviewers: thakis
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60155
llvm-svn: 357660
-rw-r--r-- | llvm/utils/gn/build/toolchain/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn index 21dfd06..a2c653f 100644 --- a/llvm/utils/gn/build/toolchain/BUILD.gn +++ b/llvm/utils/gn/build/toolchain/BUILD.gn @@ -241,7 +241,7 @@ toolchain("win") { } tool("alink") { - command = "lib /nologo {{arflags}} /out:{{output}} {{inputs}}" + command = "$link /lib /nologo {{arflags}} /out:{{output}} {{inputs}}" description = "LIB {{output}}" outputs = [ "{{output_dir}}/{{target_output_name}}.lib", |