mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
main: ensure --whole-archive is passed down to linker for -l arguments
fixes #21971
This commit is contained in:
parent
f82d7e87a3
commit
5af7f7ba8b
@ -1961,6 +1961,7 @@ fn buildOutputType(
|
||||
try create_module.cli_link_inputs.append(arena, .{ .name_query = .{
|
||||
.name = it.only_arg,
|
||||
.query = .{
|
||||
.must_link = must_link,
|
||||
.needed = needed,
|
||||
.weak = false,
|
||||
.preferred_mode = lib_preferred_mode,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user