1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
This commit is contained in:
Frank Denis 2023-08-05 11:08:32 +02:00
parent c298d1a8c6
commit 411905f83b

View File

@ -44,10 +44,10 @@ pub fn build(b: *std.build.Builder) !void {
{
continue;
}
b.installArtifact(lib);
if (optimize != .Debug and !target.isWindows() and lib != static) {
lib.strip = true;
}
b.installArtifact(lib);
lib.linkLibC();
lib.addIncludePath(.{ .path = "src/libsodium/include/sodium" });