| ... | ... | @@ -1795,10 +1795,12 @@ pub fn create(gpa: Allocator, arena: Allocator, options: CreateOptions) !*Compil |
| 1795 | 1795 | .{ .glibc_crt_file = .crtn_o }, |
| 1796 | 1796 | }); |
| 1797 | 1797 | } |
| 1798 | if (!is_dyn_lib) { |
| 1799 | try comp.queueJob(.{ .glibc_crt_file = .scrt1_o }); |
| 1800 | } |
| 1798 | 1801 | try comp.queueJobs(&[_]Job{ |
| 1799 | | .{ .glibc_crt_file = .scrt1_o }, |
| 1800 | | .{ .glibc_crt_file = .libc_nonshared_a }, |
| 1801 | 1802 | .{ .glibc_shared_objects = {} }, |
| 1803 | .{ .glibc_crt_file = .libc_nonshared_a }, |
| 1802 | 1804 | }); |
| 1803 | 1805 | } else if (target.isWasm() and target.os.tag == .wasi) { |
| 1804 | 1806 | if (!std.zig.target.canBuildLibC(target)) return error.LibCUnavailable; |