# macho: when targeting simulator, match host dylibs too · gitcafe/zig

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

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

Visibility: public

Requested revision: 509fe33d10e4e89a351678f4d466f30a7870ebcf

Requested commit: 509fe33d10e4e89a351678f4d466f30a7870ebcf

Commit: 509fe33d10e4e89a351678f4d466f30a7870ebcf

Tree: 586178dc0f24bf9875e58a830af1e2fdde51af2f

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: when targeting simulator, match host dylibs too

otherwise, linking may fail as some libc functions are provided by
the host when simulating a different OS such iPhoneOS.

```

## Parents

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

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