authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-14 03:01:04 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-02-15 22:31:15 -08:00
log61082df7a0e3d9e46d6ae3c179a77538fb08c9ad
tree30c0203e3e2637b084d7d48b9f5adb5767d17320
parent77914d78c8bf6f37ce868d81be1d4d73d91fcfe1

monorepo fixes found from ziginfra


1 files changed, 3 insertions(+), 3 deletions(-)

src/cmd/fetch.zig+3-3
...@@ -105,12 +105,12 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D...@@ -105,12 +105,12 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D
105 \\ }105 \\ }
106 \\ }106 \\ }
107 \\ for (self.c_include_dirs) |item| {107 \\ for (self.c_include_dirs) |item| {
108 \\ result.addIncludePath(b.path(b.fmt("{s}/{s}", .{ self.directory, item })));108 \\ result.addIncludePath(.{ .cwd_relative = (b.fmt("{s}/{s}", .{ self.directory, item })) });
109 \\ exe.addIncludePath(b.path(b.fmt("{s}/{s}", .{ self.directory, item })));109 \\ exe.addIncludePath(.{ .cwd_relative = (b.fmt("{s}/{s}", .{ self.directory, item })) });
110 \\ link_lib_c = true;110 \\ link_lib_c = true;
111 \\ }111 \\ }
112 \\ for (self.c_source_files) |item| {112 \\ for (self.c_source_files) |item| {
113 \\ exe.addCSourceFile(.{ .file = b.path(b.fmt("{s}/{s}", .{ self.directory, item })), .flags = self.c_source_flags });113 \\ exe.addCSourceFile(.{ .file = .{ .cwd_relative = (b.fmt("{s}/{s}", .{ self.directory, item })) }, .flags = self.c_source_flags });
114 \\ link_lib_c = true;114 \\ link_lib_c = true;
115 \\ }115 \\ }
116 \\ for (self.system_libs) |item| {116 \\ for (self.system_libs) |item| {