Skip to content

Commit

Permalink
feat(build.zig): include header files
Browse files Browse the repository at this point in the history
  • Loading branch information
fjebaker committed Aug 26, 2023
1 parent 513ab4d commit 05a25ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ pub fn build(b: *std.build.Builder) !void {
lib.strip = true;
}
b.installArtifact(lib);
lib.installHeader(src_path ++ "/include/sodium.h", "sodium.h");
lib.installHeadersDirectory(src_path ++ "/include/sodium", "sodium");
lib.linkLibC();

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

0 comments on commit 05a25ba

Please sign in to comment.