just change fix the binary unconditionally - that was too confusing
This commit is contained in:
parent
f188afc25c
commit
e787e707cb
1 changed files with 9 additions and 14 deletions
|
|
@ -75,8 +75,6 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
const install_exe = b.addInstallArtifact(exe, .{});
|
||||
|
||||
// Fix NEEDED entries in release builds to make binary portable
|
||||
if (optimize != .Debug) {
|
||||
const script_path = b.pathFromRoot("fix_needed.sh");
|
||||
const fix_needed = b.addSystemCommand(&.{script_path});
|
||||
fix_needed.step.dependOn(&install_exe.step);
|
||||
|
|
@ -87,9 +85,6 @@ pub fn build(b: *std.Build) void {
|
|||
|
||||
const fix_step = b.step("fix-needed", "Fix NEEDED entries to make binary portable");
|
||||
fix_step.dependOn(&fix_needed.step);
|
||||
} else {
|
||||
b.getInstallStep().dependOn(&install_exe.step);
|
||||
}
|
||||
|
||||
const run_step = b.step("run", "Run the app");
|
||||
const run_cmd = b.addRunArtifact(exe);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue