1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Update for zig-current

This commit is contained in:
Frank Denis 2024-04-08 21:16:26 +02:00
parent b7b1d027cc
commit f8ca998c52

View File

@ -83,8 +83,8 @@ pub fn build(b: *std.Build) !void {
continue; continue;
} }
b.installArtifact(lib); b.installArtifact(lib);
lib.installHeader(src_path ++ "/include/sodium.h", "sodium.h"); lib.installHeader(.{ .path = src_path ++ "/include/sodium.h" }, "sodium.h");
lib.installHeadersDirectory(src_path ++ "/include/sodium", "sodium"); lib.installHeadersDirectory(.{ .path = src_path ++ "/include/sodium" }, "sodium", .{});
lib.linkLibC(); lib.linkLibC();
lib.addIncludePath(.{ .path = "src/libsodium/include/sodium" }); lib.addIncludePath(.{ .path = "src/libsodium/include/sodium" });