| ... | ... | @@ -105,12 +105,12 @@ pub fn create_depszig(alloc: std.mem.Allocator, cachepath: string, dir: std.fs.D |
| 105 | 105 | \\ } |
| 106 | 106 | \\ } |
| 107 | 107 | \\ for (self.c_include_dirs) |item| { |
| 108 | | \\ result.addIncludePath(b.path(b.fmt("{s}/{s}", .{ self.directory, item }))); |
| 109 | | \\ exe.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(.{ .cwd_relative = (b.fmt("{s}/{s}", .{ self.directory, item })) }); |
| 110 | 110 | \\ link_lib_c = true; |
| 111 | 111 | \\ } |
| 112 | 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 | 114 | \\ link_lib_c = true; |
| 115 | 115 | \\ } |
| 116 | 116 | \\ for (self.system_libs) |item| { |