Skip to content

Commit

Permalink
elf: update to latest Zig build api
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Jan 6, 2024
1 parent 004a609 commit 832770e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/elf.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3407,7 +3407,7 @@ fn ar(b: *Build) SysCmd {

fn ld(b: *Build, opts: Options) SysCmd {
const cmd = Run.create(b, "ld");
cmd.addFileSourceArg(opts.zld.file);
cmd.addFileArg(opts.zld.file);
cmd.addArg("-o");
const out = cmd.addOutputFileArg("a.out");
return .{ .cmd = cmd, .out = out };
Expand Down

0 comments on commit 832770e

Please sign in to comment.