mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-30 12:56:37 +03:00
Maker.Step.Run: fix passing -L to qemu
This commit is contained in:
@@ -1811,7 +1811,11 @@ fn runCommand(
|
||||
};
|
||||
|
||||
const need_cross_libc = link_libc and root_target.os.tag == .linux and
|
||||
producer.flags2.linkage == .dynamic;
|
||||
switch (producer.flags2.linkage) {
|
||||
.static => false,
|
||||
.dynamic => true,
|
||||
.default => root_target.isGnuLibC(),
|
||||
};
|
||||
switch (std.zig.system.getExternalExecutor(io, &root_target, .{
|
||||
.host_cpu_arch = host.cpu.arch,
|
||||
.host_os_tag = host.os.tag,
|
||||
|
||||
Reference in New Issue
Block a user