diff options
| author | Robin Voetter <robin@voetter.nl> | 2019-08-30 21:37:46 +0200 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2019-08-30 21:37:46 +0200 |
| commit | 7a2b4cb9a1f9eaaecc65329e17227776e82fa50c (patch) | |
| tree | 14fdb23fd69e77cee5a3f38bb48f5e3d8dc89474 /tools/process_headers.zig | |
| parent | ca2aa4880f468f12bcbe3d6cd315729dd361eff2 (diff) | |
| parent | fed5c12d9a2ab14c5bb66251ba6ee3e356bce8d3 (diff) | |
| download | zig-7a2b4cb9a1f9eaaecc65329e17227776e82fa50c.tar.gz zig-7a2b4cb9a1f9eaaecc65329e17227776e82fa50c.zip | |
Merge remote-tracking branch 'upstream/master' into arm-support-improvement
Diffstat (limited to 'tools/process_headers.zig')
| -rw-r--r-- | tools/process_headers.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/process_headers.zig b/tools/process_headers.zig index 7bd7ca08d2..d18e25355f 100644 --- a/tools/process_headers.zig +++ b/tools/process_headers.zig @@ -585,10 +585,10 @@ pub fn main() !void { var sub_path: []const []const u8 = undefined; switch (vendor) { .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 => { - 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); |
