| author | |
| committer | |
| log | 091238254e75253597e12ee381a3197751d61973 |
| tree | 890e5afd8732a596dd559d47356f5970ee4c6b38 |
| parent | 30ef0336932cb2ec866a082b9b4584d08d179a55 |
1 files changed, 4 insertions(+), 0 deletions(-)
src/link/MachO.zig+4| ... | ... | @@ -451,6 +451,10 @@ pub fn flushModule(self: *MachO, comp: *Compilation, prog_node: *std.Progress.No |
| 451 | 451 | |
| 452 | 452 | llvm_object.destroy(self.base.allocator); |
| 453 | 453 | self.llvm_object = null; |
| 454 | ||
| 455 | if (self.base.options.output_mode == .Lib and self.base.options.link_mode == .Static) { | |
| 456 | return; | |
| 457 | } | |
| 454 | 458 | } |
| 455 | 459 | } |
| 456 | 460 |