aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
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 729ba9fc5..0301b1186 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -451,7 +451,6 @@ int main(int arg_count, char **arg_ptr) {
Array<String> args = setup_args(arg_count, arg_ptr);
-
#if 1
String init_filename = {};
@@ -655,7 +654,7 @@ int main(int arg_count, char **arg_ptr) {
}
exit_code = system_exec_command_line_app("msvc-link", true,
- "link \"%.*s\".obj -OUT:\"%.*s.%s\" %s "
+ "link \"%.*s.obj\" -OUT:\"%.*s.%s\" %s "
"/defaultlib:libcmt "
// "/nodefaultlib "
"/nologo /incremental:no /opt:ref /subsystem:CONSOLE "
@@ -757,7 +756,7 @@ int main(int arg_count, char **arg_ptr) {
#endif
exit_code = system_exec_command_line_app("ld-link", true,
- "%s \"%.*s\".o -o \"%.*s%s\" %s "
+ "%s \"%.*s.o\" -o \"%.*s%s\" %s "
"-lc -lm "
" %.*s "
" %s "