diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-01-06 15:47:07 +0000 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-01-06 15:47:07 +0000 |
| commit | b1e35b6da3e335376339965ad2e26d7e275de3c5 (patch) | |
| tree | f9be51b2214a51d2860357fa68e79ff2a1be57f3 /src/main.c | |
| parent | fc1af0a04bfce7b64e1f776951016ea975e4cd21 (diff) | |
Fix array pointer as iterators; Remove stack allocations in `startup_runtime`v0.0.5d
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, |