| ... | @@ -891,6 +891,10 @@ pub fn resolveLibSystem( | ... | @@ -891,6 +891,10 @@ pub fn resolveLibSystem( |
| 891 | }, | 891 | }, |
| 892 | }; | 892 | }; |
| 893 | | 893 | |
| | 894 | for (self.lib_dirs) |dir| { |
| | 895 | if (try accessLibPath(arena, &test_path, &checked_paths, dir, "System")) break :success; |
| | 896 | } |
| | 897 | |
| 894 | try self.reportMissingLibraryError(checked_paths.items, "unable to find libSystem system library", .{}); | 898 | try self.reportMissingLibraryError(checked_paths.items, "unable to find libSystem system library", .{}); |
| 895 | return error.MissingLibSystem; | 899 | return error.MissingLibSystem; |
| 896 | } | 900 | } |