# fix MachO linking · gitcafe/zig

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

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

Visibility: public

Requested revision: b36659c972fb7d75b1e34cb668770353de27db7d

Requested commit: b36659c972fb7d75b1e34cb668770353de27db7d

Commit: b36659c972fb7d75b1e34cb668770353de27db7d

Tree: 2261958ed6ae60283c40afc31dd8533cfe882fd4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix MachO linking

* fix relationship between createEmpty/open (similar logic as
  607111aa758002bc51914b7dc800b23927c931b8)
* still resolve the start symbol when linking libc because when zig is
  the linker it still needs to know the entry symbol.
* make use_llvm=false when there is no zig compilation unit.

```

## Parents

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

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