mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 14:22:18 -04:00
Remove ' from __odin_entry_point
This commit is contained in:
1 parent
780d59cce6
commit
085af86dac
1 file changed
+3
-3
+3
-3
@@ -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