# ELF: Scan for dylibs-as-objects when adding rpaths · gitcafe/zig

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

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

Visibility: public

Requested revision: 58540f968a2ae53b4b1ff5a917fdb404088a222a

Requested commit: 58540f968a2ae53b4b1ff5a917fdb404088a222a

Commit: 58540f968a2ae53b4b1ff5a917fdb404088a222a

Tree: 12787c37ee965e2bbed7ea51fec0f747bdf42962

Author: Cody Tapscott

Committer: Cody Tapscott

## Message

```
ELF: Scan for dylibs-as-objects when adding rpaths

Shared libraries can be provided on the command line as if they were
objects, as a path to the ".so" file. The "each-lib-rpath" functionality
was ignoring these shared libraries accidentally, causing missing rpaths
in the output executable.

```

## Parents

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

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