mirror of
https://github.com/ziglang/zig.git
synced 2026-01-09 08:55:36 +00:00
Fix -rdynamic not sending --export-dynamic to the ELF linker
This commit is contained in:
parent
f7f563ea53
commit
1a95f1c2e0
@ -1646,6 +1646,10 @@ static void construct_linker_job_elf(LinkJob *lj) {
|
||||
lj->args.append("--eh-frame-hdr");
|
||||
}
|
||||
|
||||
if (g->linker_rdynamic) {
|
||||
lj->args.append("--export-dynamic");
|
||||
}
|
||||
|
||||
lj->args.append("-m");
|
||||
lj->args.append(getLDMOption(g->zig_target));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user