diff --git a/build.zig b/build.zig index dbc54a0b..3c42f4c1 100644 --- a/build.zig +++ b/build.zig @@ -13,6 +13,9 @@ pub fn build(b: *std.build.Builder) !void { libsodium.setTarget(target); libsodium.setBuildMode(mode); libsodium.install(); + if (mode != .Debug) { + libsodium.strip = true; + } libsodium.linkLibC(); libsodium.addIncludeDir("src/libsodium/include/sodium");