Skip to content

Commit

Permalink
reuse strip option for libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan200101 committed Dec 31, 2024
1 parent 061a730 commit 6a8b315
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ pub fn build(b: *std.Build) !void {
.root_source_file = b.path("src/main_c.zig"),
.optimize = optimize,
.target = target,
.strip = strip,
});
_ = try addDeps(b, lib, config);

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

Expand Down

0 comments on commit 6a8b315

Please sign in to comment.