reuse strip option for libraries

This commit is contained in:
Jan200101
2024-12-31 12:09:11 +01:00
parent 061a730dd3
commit 6a8b31571b

View File

@ -690,6 +690,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = b.path("src/main_c.zig"), .root_source_file = b.path("src/main_c.zig"),
.optimize = optimize, .optimize = optimize,
.target = target, .target = target,
.strip = strip,
}); });
_ = try addDeps(b, lib, config); _ = try addDeps(b, lib, config);
@ -707,6 +708,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = b.path("src/main_c.zig"), .root_source_file = b.path("src/main_c.zig"),
.optimize = optimize, .optimize = optimize,
.target = target, .target = target,
.strip = strip,
}); });
_ = try addDeps(b, lib, config); _ = try addDeps(b, lib, config);