mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 12:07:45 +00:00
Adds new flag for linker to know if it should link the system library or not
This commit is contained in:
@@ -726,6 +726,10 @@ gb_internal bool cg_generate_code(Checker *c, LinkerData *linker_data) {
|
||||
|
||||
linker_data_init(linker_data, info, c->parser->init_fullpath);
|
||||
|
||||
#if defined(GB_SYSTEM_OSX)
|
||||
linker_enable_system_library_linking(linker_data);
|
||||
#endif
|
||||
|
||||
cg_global_arena_init();
|
||||
|
||||
cgModule *m = cg_module_create(c);
|
||||
|
||||
Reference in New Issue
Block a user