aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 46364d8d6..3548bd9a1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -198,9 +198,9 @@ i32 linker_stage(lbGenerator *gen) {
if (build_context.is_dll) {
output_ext = "dll";
- link_settings = gb_string_append_fmt(link_settings, "/DLL");
+ link_settings = gb_string_append_fmt(link_settings, " /DLL");
} else {
- link_settings = gb_string_append_fmt(link_settings, "/ENTRY:mainCRTStartup");
+ link_settings = gb_string_append_fmt(link_settings, " /ENTRY:mainCRTStartup");
}
if (build_context.pdb_filepath != "") {