build.zig don't strip in Debug mode

This commit is contained in:
Frank Denis 2023-03-01 17:05:26 +01:00
parent 135d7ef047
commit 0c5ac65576

View File

@ -22,8 +22,6 @@ pub fn build(b: *std.build.Builder) !void {
.unversioned,
);
const static = b.addStaticLibrary("sodium", null);
shared.strip = true;
static.strip = true;
const libs_ = [_]*LibExeObjStep{ shared, static };
const libs = if (target.getOsTag() == .wasi) libs_[1..] else libs_[0..];