aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-08 13:10:22 +0100
committergingerBill <bill@gingerbill.org>2021-06-08 13:10:22 +0100
commit1e989f5c10e960cd2826b7d8f6abf84d1b0ab564 (patch)
tree9dc4bbf1193fd5059ed0254b16a5947984b1042b /src/main.cpp
parent3eb42ecb550acc2d4df7372ad1319aca7af645d0 (diff)
Fix -lld on Windows
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index bb7d94c9b..b0fd9359f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -309,15 +309,14 @@ i32 linker_stage(lbGenerator *gen) {
);
}
} else { // lld
- result = system_exec_command_line_app("msvc-link",
+ result = system_exec_command_line_app("msvc-lld-link",
"\"%.*s\\bin\\lld-link\" %s -OUT:\"%.*s.%s\" %s "
"/nologo /incremental:no /opt:ref /subsystem:%s "
" %.*s "
" %.*s "
" %s "
"",
- LIT(build_context.ODIN_ROOT),
- LIT(output_base), object_files, output_ext,
+ LIT(build_context.ODIN_ROOT), object_files, LIT(output_base),output_ext,
link_settings,
subsystem_str,
LIT(build_context.link_flags),