Index: build/toolchain/win/BUILD.gn |
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn |
index 6c3e06b1b4a18455b841afeb508e9dd55ed76b5f..a0542678ee6806c1df951e9e33fef9071e24ac4e 100644 |
--- a/build/toolchain/win/BUILD.gn |
+++ b/build/toolchain/win/BUILD.gn |
@@ -147,8 +147,7 @@ template("msvc_toolchain") { |
tool("solink") { |
dllname = "{{root_out_dir}}/{{target_output_name}}{{output_extension}}" # e.g. foo.dll |
- libname = |
- "{{root_out_dir}}/{{target_output_name}}{{output_extension}}.lib" # e.g. foo.dll.lib |
+ libname = "${dllname}.lib" # e.g. foo.dll.lib |
rspfile = "${dllname}.rsp" |
link_command = "$python_path gyp-win-tool link-wrapper $env False link.exe /nologo /IMPLIB:$libname /DLL /OUT:$dllname /PDB:${dllname}.pdb @$rspfile" |