Skip to content

Commit

Permalink
Update for Zig 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed May 9, 2024
1 parent 641926a commit 32936d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn build(b: *std.Build) !void {
.strip = true,
});
dsvpn.linkLibC();
dsvpn.addIncludePath(.{ .path = "include" });
dsvpn.addIncludePath(b.path("include"));
dsvpn.defineCMacro("_GNU_SOURCE", "1");
const source_files = &.{ "src/charm.c", "src/os.c", "src/vpn.c" };
dsvpn.addCSourceFiles(.{ .files = source_files });
Expand Down

0 comments on commit 32936d4

Please sign in to comment.