Updated build.zig to work with 0.11.0
This commit is contained in:
parent
04b6c20f11
commit
13c79db3aa
1 changed files with 3 additions and 3 deletions
|
|
@ -8,9 +8,9 @@ pub fn build(b: *std.Build) void {
|
|||
});
|
||||
|
||||
lib.linkLibC();
|
||||
lib.addCSourceFile("lib/src/lib.c", &.{});
|
||||
lib.addIncludePath("lib/include");
|
||||
lib.addIncludePath("lib/src");
|
||||
lib.addCSourceFile(.{ .file = .{ .path = "lib/src/lib.c" }, .flags = &.{} });
|
||||
lib.addIncludePath(.{ .path = "lib/include" });
|
||||
lib.addIncludePath(.{ .path = "lib/src" });
|
||||
|
||||
b.installArtifact(lib);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue