[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
This commit is contained in:
parent
051bd16faf
commit
cfdd0cb5d9
|
|
@ -241,7 +241,7 @@ toolchain("win") {
|
||||||
}
|
}
|
||||||
|
|
||||||
tool("alink") {
|
tool("alink") {
|
||||||
command = "lib /nologo {{arflags}} /out:{{output}} {{inputs}}"
|
command = "$link /lib /nologo {{arflags}} /out:{{output}} {{inputs}}"
|
||||||
description = "LIB {{output}}"
|
description = "LIB {{output}}"
|
||||||
outputs = [
|
outputs = [
|
||||||
"{{output_dir}}/{{target_output_name}}.lib",
|
"{{output_dir}}/{{target_output_name}}.lib",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue