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:
parent
b7b1d027cc
commit
f8ca998c52
@ -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" });
|
||||||
|
Loading…
Reference in New Issue
Block a user