mirror of
https://github.com/odin-lang/Odin.git
synced 2026-09-03 10:40:20 +00:00
Remove ' from __odin_entry_point
This commit is contained in:
@@ -789,12 +789,12 @@ try_cross_linking:;
|
||||
// by the compiler frontend are still needed and most of the command
|
||||
// line arguments prepared previously are incompatible with ld.
|
||||
if (build_context.metrics.os == TargetOs_darwin) {
|
||||
link_settings = gb_string_appendc(link_settings, "-Wl,-init,'__odin_entry_point' ");
|
||||
link_settings = gb_string_appendc(link_settings, "-Wl,-init,__odin_entry_point ");
|
||||
// NOTE(weshardee): __odin_exit_point should also be added, but -fini
|
||||
// does not exist on MacOS
|
||||
} else {
|
||||
link_settings = gb_string_appendc(link_settings, "-Wl,-init,'_odin_entry_point' ");
|
||||
link_settings = gb_string_appendc(link_settings, "-Wl,-fini,'_odin_exit_point' ");
|
||||
link_settings = gb_string_appendc(link_settings, "-Wl,-init,_odin_entry_point ");
|
||||
link_settings = gb_string_appendc(link_settings, "-Wl,-fini,_odin_exit_point ");
|
||||
}
|
||||
} else if (is_android) {
|
||||
// Always shared even in android!
|
||||
|
||||
Reference in New Issue
Block a user