# MachO: add the same workaround for no \-r LLD flag support · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/3249e5d952cfcecca999391ffc02cce92ff8fcc4)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 3249e5d952cfcecca999391ffc02cce92ff8fcc4

Requested commit: 3249e5d952cfcecca999391ffc02cce92ff8fcc4

Commit: 3249e5d952cfcecca999391ffc02cce92ff8fcc4

Tree: 62f8f37e804d2fb2a817e090ce882100b06cc728

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
MachO: add the same workaround for no -r LLD flag support

This is the MachO equivalent for the code added to COFF for doing the
file copy when the input and output are both just one object file.

```

## Parents

- [2a893efae12b2f80d0ff5fd883fdaeb00d9425e4](https://git.cafe/gitcafe/zig/commit/2a893efae12b2f80d0ff5fd883fdaeb00d9425e4?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/3249e5d952cfcecca999391ffc02cce92ff8fcc4?format=markdown)
