mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +00:00
update process_headers.zig for latest zig
This commit is contained in:
parent
d9fed5cdfd
commit
37ef490fc6
@ -585,10 +585,10 @@ pub fn main() !void {
|
|||||||
var sub_path: []const []const u8 = undefined;
|
var sub_path: []const []const u8 = undefined;
|
||||||
switch (vendor) {
|
switch (vendor) {
|
||||||
.musl => {
|
.musl => {
|
||||||
sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" };
|
sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "local", "musl", "include" };
|
||||||
},
|
},
|
||||||
.glibc => {
|
.glibc => {
|
||||||
sub_path = [_][]const u8{ search_path, libc_target.name, "usr", "include" };
|
sub_path = &[_][]const u8{ search_path, libc_target.name, "usr", "include" };
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
const target_include_dir = try std.fs.path.join(allocator, sub_path);
|
const target_include_dir = try std.fs.path.join(allocator, sub_path);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user