diff options
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 92bdb06bf..9148636ae 100644 --- a/src/main.c +++ b/src/main.c @@ -249,6 +249,8 @@ int main(int argc, char **argv) { if (build_context.is_dll) { output_ext = "dll"; link_settings = "/DLL"; + } else { + link_settings = "/ENTRY:mainCRTStartup"; } exit_code = win32_exec_command_line_app("msvc-link", true, |