diff options
| author | Fini Jastrow <ulf.fini.jastrow@desy.de> | 2023-11-09 20:18:19 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-11-22 22:11:50 +0200 |
| commit | 30ab9747ae03364ac2ccd4a8f508286c57ed54a5 (patch) | |
| tree | 476ab17bb358afe7dd46df1a228844bc624e8e04 /docs/markdown/Rust-module.md | |
| parent | 4a1e0235cc81442c312cb31a9ed5c639f0b1c8c5 (diff) | |
| download | meson-30ab9747ae03364ac2ccd4a8f508286c57ed54a5.tar.gz | |
clike: Deduplicate rpath linker flags
[why]
On Apple clang 15.0.0 linker (i.e. ld64 1015.7) giving the same rpath
multiple times raises a warning:
ld: warning: duplicate -rpath '/local/lib' ignored
This can frequently happen when linking several dependencies that all
have that rpath in e.g. pkgconfig.
[how]
Deduplicate all rpath arguments.
[note]
I'm not sure how the code handles --start/end-group, but for rpath that
should not make any difference as that is not bound to a group.
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Diffstat (limited to 'docs/markdown/Rust-module.md')
0 files changed, 0 insertions, 0 deletions
