build.zig don't strip in Debug mode
This commit is contained in:
parent
135d7ef047
commit
0c5ac65576
@ -22,8 +22,6 @@ pub fn build(b: *std.build.Builder) !void {
|
|||||||
.unversioned,
|
.unversioned,
|
||||||
);
|
);
|
||||||
const static = b.addStaticLibrary("sodium", null);
|
const static = b.addStaticLibrary("sodium", null);
|
||||||
shared.strip = true;
|
|
||||||
static.strip = true;
|
|
||||||
|
|
||||||
const libs_ = [_]*LibExeObjStep{ shared, static };
|
const libs_ = [_]*LibExeObjStep{ shared, static };
|
||||||
const libs = if (target.getOsTag() == .wasi) libs_[1..] else libs_[0..];
|
const libs = if (target.getOsTag() == .wasi) libs_[1..] else libs_[0..];
|
||||||
|
Loading…
Reference in New Issue
Block a user