From f8ca998c52cca06b4e9021d4d495b1bf2d477179 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 8 Apr 2024 21:16:26 +0200 Subject: [PATCH] Update for zig-current --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" });