Browse Source

Merge branch 'master' of https://github.com/odin-lang/Odin

gingerBill 5 years ago
parent
commit
0804be5d81
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main.cpp

+ 2 - 2
src/main.cpp

@@ -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 != "") {