# Add fat/universal dylib support to zig ld · gitcafe/zig

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

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

Visibility: public

Requested revision: 177b1b6bf9a7402eb688159dfa94ea5a5ea6f550

Requested commit: 177b1b6bf9a7402eb688159dfa94ea5a5ea6f550

Commit: 177b1b6bf9a7402eb688159dfa94ea5a5ea6f550

Tree: 2b14f44eb4fd81a0f3e0067190f71e09f8a2cffb

Author: Tom Maenan Read Cutting

Committer: Jakub Konka

## Message

```
Add fat/universal dylib support to zig ld

With this change zig ld can link with dynamic libraries
contained within a fat/universal file that had multiple
seperate binaries embedded within it for multi-arch
support (in macOS).

Whilst zig can still only create single-architecture
executables - the ability to link with fat libraries is
useful for cases where they are the easiest (or only)
option to link against.

```

## Parents

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

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