| author | |
| committer | |
| log | d18f52197d3e796858b79a70bfc6b6911b4f92ff |
| tree | 7016e85d5e96859b5a8fa64a4a4150c7c4f69300 |
| parent | d12c8db6421f28ca59c03b619c70126c6694b0d4 |
1 files changed, 4 insertions(+), 0 deletions(-)
src/link/MachO/relocatable.zig+4| ... | ... | @@ -103,6 +103,10 @@ pub fn flushStaticLib(macho_file: *MachO, comp: *Compilation, module_obj_path: ? |
| 103 | 103 | |
| 104 | 104 | if (module_obj_path) |path| try positionals.append(.{ .path = path }); |
| 105 | 105 | |
| 106 | if (comp.include_compiler_rt) { | |
| 107 | try positionals.append(.{ .path = comp.compiler_rt_obj.?.full_object_path }); | |
| 108 | } | |
| 109 | ||
| 106 | 110 | for (positionals.items) |obj| { |
| 107 | 111 | parsePositional(macho_file, obj.path) catch |err| switch (err) { |
| 108 | 112 | error.MalformedObject, |