| author | |
| committer | |
| log | 0aa613d9bfbc3904cbd62892bb4119f9104e7b67 |
| tree | d602e261b720a522fe46a752a45b58b8e8bf1d11 |
| parent | ed492ff51c7867b04b3f2a1512df7642a5debe60 |
1 files changed, 5 insertions(+), 1 deletions(-)
lib/compiler/Maker/Step/Run.zig+5-1| ... | ... | @@ -1811,7 +1811,11 @@ fn runCommand( |
| 1811 | 1811 | }; |
| 1812 | 1812 | |
| 1813 | 1813 | const need_cross_libc = link_libc and root_target.os.tag == .linux and |
| 1814 | producer.flags2.linkage == .dynamic; | |
| 1814 | switch (producer.flags2.linkage) { | |
| 1815 | .static => false, | |
| 1816 | .dynamic => true, | |
| 1817 | .default => root_target.isGnuLibC(), | |
| 1818 | }; | |
| 1815 | 1819 | switch (std.zig.system.getExternalExecutor(io, &root_target, .{ |
| 1816 | 1820 | .host_cpu_arch = host.cpu.arch, |
| 1817 | 1821 | .host_os_tag = host.os.tag, |