# macho: specify \-install_name as full dylib's name · gitcafe/zig

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

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

Visibility: public

Requested revision: b390ced356a2150f21f8d15470f927ccc1c9f3ed

Requested commit: b390ced356a2150f21f8d15470f927ccc1c9f3ed

Commit: b390ced356a2150f21f8d15470f927ccc1c9f3ed

Tree: 4c2c56bdc9f8009971e4b9ca199f7b010d1af10f

Author: Jakub Konka

Committer: Andrew Kelley

## Message

```
macho: specify -install_name as full dylib's name

This then allows for proper resolution of names via runpath search
path list, i.e., `-rpath @loader_path` will correctly resolve
to `@rpath/libxxx.dylib (...)` in the linked binary.

```

## Parents

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

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