diff --git a/build.zig b/build.zig index 1f22f2f6..217852a0 100644 --- a/build.zig +++ b/build.zig @@ -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" });