mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-15 15:44:04 +00:00
Fixed Typo / Added check for 1
This commit is contained in:
@@ -485,7 +485,7 @@ gb_internal i32 linker_stage(LinkerData *gen) {
|
||||
if (build_context.metrics.os == TargetOs_darwin) {
|
||||
platform_lib_str = gb_string_appendc(platform_lib_str, "-lm -Wl,-syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -L/usr/local/lib");
|
||||
#if defined(GB_SYSTEM_OSX)
|
||||
if(gen->needs_system_library_linked) {
|
||||
if(gen->needs_system_library_linked == 1) {
|
||||
platform_lib_str = gb_string_appendc(platform_lib_str, " -lSystem ");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user