Skip to content

Commit

Permalink
Update for zig-current
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Apr 8, 2024
1 parent b7b1d02 commit f8ca998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ pub fn build(b: *std.Build) !void {
continue;
}
b.installArtifact(lib);
lib.installHeader(src_path ++ "/include/sodium.h", "sodium.h");
lib.installHeadersDirectory(src_path ++ "/include/sodium", "sodium");
lib.installHeader(.{ .path = src_path ++ "/include/sodium.h" }, "sodium.h");
lib.installHeadersDirectory(.{ .path = src_path ++ "/include/sodium" }, "sodium", .{});
lib.linkLibC();

lib.addIncludePath(.{ .path = "src/libsodium/include/sodium" });
Expand Down

0 comments on commit f8ca998

Please sign in to comment.