| ... | @@ -3645,11 +3645,8 @@ fn linkWithLLD(wasm: *Wasm, arena: Allocator, tid: Zcu.PerThread.Id, prog_node: | ... | @@ -3645,11 +3645,8 @@ fn linkWithLLD(wasm: *Wasm, arena: Allocator, tid: Zcu.PerThread.Id, prog_node: |
| 3645 | try argv.append(p); | 3645 | try argv.append(p); |
| 3646 | } | 3646 | } |
| 3647 | | 3647 | |
| 3648 | if (comp.config.output_mode != .Obj and | 3648 | if (comp.libc_static_lib) |crt_file| { |
| 3649 | !comp.skip_linker_dependencies and | 3649 | try argv.append(try crt_file.full_object_path.toString(arena)); |
| 3650 | !comp.config.link_libc) | | |
| 3651 | { | | |
| 3652 | try argv.append(try comp.libc_static_lib.?.full_object_path.toString(arena)); | | |
| 3653 | } | 3650 | } |
| 3654 | | 3651 | |
| 3655 | if (compiler_rt_path) |p| { | 3652 | if (compiler_rt_path) |p| { |