# compiler: recognize and ignore \-rpath-link linker option · gitcafe/zig

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

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

Visibility: public

Requested revision: 28b83e3b0274a52b1d02a4117edd9fc6636917de

Requested commit: 28b83e3b0274a52b1d02a4117edd9fc6636917de

Commit: 28b83e3b0274a52b1d02a4117edd9fc6636917de

Tree: 71432f3de011c6462ec8d7137091877bbd30c8d5

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
compiler: recognize and ignore -rpath-link linker option

The option should probably still be implemented properly at some point, but LLD
has ignored this for years and nobody seems to mind, so just do the same for
now.

This unblocks using zig cc with CMake on OpenBSD, among other use cases.

ref https://github.com/ziglang/zig/issues/18713

```

## Parents

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

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