strip zig binaries

This commit is contained in:
LordMZTE 2022-05-21 23:51:36 +02:00
parent 077f5ac8d6
commit e00b15a25b
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6
2 changed files with 4 additions and 0 deletions

View file

@ -18,6 +18,8 @@ pub fn build(b: *std.build.Builder) void {
exe.linkLibC();
exe.linkSystemLibrary("gtk4");
exe.strip = mode != .Debug;
exe.install();
const run_cmd = exe.run();

View file

@ -19,6 +19,8 @@ pub fn build(b: *std.build.Builder) void {
exe.linkSystemLibrary("x11");
exe.linkSystemLibrary("xinerama");
exe.strip = mode != .Debug;
exe.install();
const run_cmd = exe.run();