| ... | @@ -585,10 +585,10 @@ pub fn main() !void { | ... | @@ -585,10 +585,10 @@ pub fn main() !void { |
| 585 | var sub_path: []const []const u8 = undefined; | 585 | var sub_path: []const []const u8 = undefined; |
| 586 | switch (vendor) { | 586 | switch (vendor) { |
| 587 | .musl => { | 587 | .musl => { |
| 588 | sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" }; | 588 | sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" }; |
| 589 | }, | 589 | }, |
| 590 | .glibc => { | 590 | .glibc => { |
| 591 | sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "include" }; | 591 | sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "include" }; |
| 592 | }, | 592 | }, |
| 593 | } | 593 | } |
| 594 | const target_include_dir = try std.fs.path.join(allocator, sub_path); | 594 | const target_include_dir = try std.fs.path.join(allocator, sub_path); |