mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Update for zig-current
This commit is contained in:
parent
b7b1d027cc
commit
f8ca998c52
@ -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" });
|
||||
|
Loading…
Reference in New Issue
Block a user