| ... | @@ -615,7 +615,7 @@ fn getIncludePaths( | ... | @@ -615,7 +615,7 @@ fn getIncludePaths( |
| 615 | }; | 615 | }; |
| 616 | const target = std.zig.resolveTargetQueryOrFatal(io, target_query); | 616 | const target = std.zig.resolveTargetQueryOrFatal(io, target_query); |
| 617 | const is_native_abi = target_query.isNativeAbi(); | 617 | const is_native_abi = target_query.isNativeAbi(); |
| 618 | const detected_libc = std.zig.LibCDirs.detect(arena, zig_lib_dir, &target, is_native_abi, true, null) catch { | 618 | const detected_libc = std.zig.LibCDirs.detect(arena, io, zig_lib_dir, &target, is_native_abi, true, null) catch { |
| 619 | if (includes == .any) { | 619 | if (includes == .any) { |
| 620 | // fall back to mingw | 620 | // fall back to mingw |
| 621 | includes = .gnu; | 621 | includes = .gnu; |