Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
24 lines
1018 B
Diff
24 lines
1018 B
Diff
diff --git a/src/linker.cpp b/src/linker.cpp
|
|
index 2210c13..803b654 100644
|
|
--- a/src/linker.cpp
|
|
+++ b/src/linker.cpp
|
|
@@ -779,18 +779,6 @@ try_cross_linking:;
|
|
}
|
|
platform_lib_str = gb_string_append_fmt(platform_lib_str, "--sysroot %s ", darwin_sdk_path);
|
|
|
|
- platform_lib_str = gb_string_appendc(platform_lib_str, "-L/usr/local/lib ");
|
|
-
|
|
- // Homebrew's default library path, checking if it exists to avoid linking warnings.
|
|
- if (gb_file_exists("/opt/homebrew/lib")) {
|
|
- platform_lib_str = gb_string_appendc(platform_lib_str, "-L/opt/homebrew/lib ");
|
|
- }
|
|
-
|
|
- // MacPort's default library path, checking if it exists to avoid linking warnings.
|
|
- if (gb_file_exists("/opt/local/lib")) {
|
|
- platform_lib_str = gb_string_appendc(platform_lib_str, "-L/opt/local/lib ");
|
|
- }
|
|
-
|
|
// Only specify this flag if the user has given a minimum version to target.
|
|
// This will cause warnings to show up for mismatched libraries.
|
|
if (build_context.minimum_os_version_string_given) {
|