diff options
| author | Fabian Groffen <grobian@gentoo.org> | 2024-03-27 17:20:16 +0000 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-04-01 19:19:23 -0400 |
| commit | 78e9009ff9d36925e04f329f9082841002ddd848 (patch) | |
| tree | c5f162885f32439330c85bbe67c7dba022dce01a /mesonbuild/compilers/compilers.py | |
| parent | 516a485136f871a15bba3889182a3795178ccba1 (diff) | |
| download | meson-78e9009ff9d36925e04f329f9082841002ddd848.tar.gz | |
depfixer: change fix_darwin to act like fix_rpathtype_entry
This somewhat aligns "darwin" (Mach-O) with how ELF RPATHs are treated.
Instead of blindly removing all RPATHs, only remove the ones that are in
the rpath_dirs_to_remove set. This way, RPATHs that were added by the
toolchain or user are left untouched.
It is important not to remove RPATHs as they may be vital for the
executable at runtime. Issues #12045 and #12288 are examples of this.
Issue: https://github.com/mesonbuild/meson/issues/12045
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions
