Fixed Typo / Added check for 1

This commit is contained in:
Platin21
2024-01-02 21:14:17 +01:00
parent 4626cd03da
commit 37c2e9bec3
2 changed files with 2 additions and 2 deletions

View File

@@ -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