mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
@@ -277,6 +277,9 @@ try_cross_linking:;
|
|||||||
|
|
||||||
if (build_context.build_mode == BuildMode_DynamicLibrary) {
|
if (build_context.build_mode == BuildMode_DynamicLibrary) {
|
||||||
link_settings = gb_string_append_fmt(link_settings, " /DLL");
|
link_settings = gb_string_append_fmt(link_settings, " /DLL");
|
||||||
|
if (build_context.no_entry_point) {
|
||||||
|
link_settings = gb_string_append_fmt(link_settings, " /NOENTRY");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
link_settings = gb_string_append_fmt(link_settings, " /ENTRY:mainCRTStartup");
|
link_settings = gb_string_append_fmt(link_settings, " /ENTRY:mainCRTStartup");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user