diff options
Diffstat (limited to 'std/build.zig')
| -rw-r--r-- | std/build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/build.zig b/std/build.zig index 99900a1700..7a40e97f52 100644 --- a/std/build.zig +++ b/std/build.zig @@ -979,7 +979,7 @@ pub const LibExeObjStep = struct { for (builder.include_paths.toSliceConst()) |include_path| { %%zig_args.append("-isystem"); - %%zig_args.append(include_path); + %%zig_args.append(builder.pathFromRoot(include_path)); } for (builder.rpaths.toSliceConst()) |rpath| { @@ -1086,7 +1086,7 @@ pub const TestStep = struct { for (builder.include_paths.toSliceConst()) |include_path| { %%zig_args.append("-isystem"); - %%zig_args.append(include_path); + %%zig_args.append(builder.pathFromRoot(include_path)); } for (builder.rpaths.toSliceConst()) |rpath| { |
