Index: llvm/trunk/utils/gn/build/toolchain/BUILD.gn =================================================================== --- llvm/trunk/utils/gn/build/toolchain/BUILD.gn +++ llvm/trunk/utils/gn/build/toolchain/BUILD.gn @@ -241,7 +241,7 @@ } 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",