This commit is contained in:
gingerBill
2020-03-30 12:21:51 +01:00
+2 -2
View File
@@ -198,9 +198,9 @@ i32 linker_stage(lbGenerator *gen) {
if (build_context.is_dll) { if (build_context.is_dll) {
output_ext = "dll"; output_ext = "dll";
link_settings = gb_string_append_fmt(link_settings, "/DLL"); link_settings = gb_string_append_fmt(link_settings, " /DLL");
} else { } 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 != "") { if (build_context.pdb_filepath != "") {