diff --git a/src/main.zig b/src/main.zig index 9cf50e11937e73cc6bd1b6fab68a259c8cdf7533..3d65875975e8d921259ae56f539733f65d7f157d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -2152,6 +2152,7 @@ fn buildOutputType( } for (lib_dirs.items) |lib_dir_path| { + if (cross_target.isDarwin()) break; // Targeting Darwin we let the linker resolve the libraries in the correct order test_path.clearRetainingCapacity(); try test_path.writer().print("{s}" ++ sep ++ "{s}{s}{s}", .{ lib_dir_path,