update zig

This commit is contained in:
Mitchell Hashimoto
2023-08-02 14:39:19 -07:00
parent 4b3b42bc54
commit d649b3f6d4
11 changed files with 75 additions and 49 deletions

View File

@@ -19,7 +19,7 @@ fn thisDir() []const u8 {
pub fn link(b: *std.Build, step: *std.build.LibExeObjStep) !*std.build.LibExeObjStep {
const lib = try buildLib(b, step);
step.linkLibrary(lib);
step.addIncludePath(include_path);
step.addIncludePath(.{ .path = include_path });
return lib;
}
@@ -34,7 +34,7 @@ pub fn buildLib(
});
// Include
lib.addIncludePath(include_path);
lib.addIncludePath(.{ .path = include_path });
// Link
lib.linkLibC();