diff options
| author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-10-12 12:54:24 -0400 |
|---|---|---|
| committer | Xavier Claessens <xclaesse@gmail.com> | 2023-11-02 07:55:32 -0400 |
| commit | 3500349df16908daed8788687af59a0521c074d4 (patch) | |
| tree | 124540a695723da7b8e92e461bc3de4498920d94 /test cases/objcpp | |
| parent | cfec255027ca7c928defcc665a12e91b439c7c3f (diff) | |
| download | meson-3500349df16908daed8788687af59a0521c074d4.tar.gz | |
rust: Fix link arguments
Reduce code duplication by iterating target.get_dependencies() instead
of iterating target.link_targets and target.link_whole_targets
separately. This has the extra benefit of taking into account
transitive dependencies.
- For indirect C ABI static libraries, this adds missing "-l static="
arguments.
- For indirect Rust ABI dependencies, this adds missing "-L" arguments.
- Verbatim modifier was used only for link_whole_targets, it's now
always used when available.
Fixes: #11694
Diffstat (limited to 'test cases/objcpp')
0 files changed, 0 insertions, 0 deletions
