Fixes regression from commit 78e9009ff9
.
The above commit relied on rpath_dirs_to_remove being present and
correctly filled, which was never the case for the AppleDynamicLinker.
The result was that all the build-dir-only RPATHs were being carried
over to the installed files.
This commit implements returning the list of RPATHs to remove in
AppleDynamicLinker, doing pretty much the same thing as what's in the
GnuLikeDynamicLinkerMixin. Thanks to that, depfixer now correctly
removes build-time Meson-created RPATHs, as it used to before 1.4.1.
pull/12428/merge
parent
7b43a2e196
commit
dc1b4be6be
8 changed files with 43 additions and 2 deletions
@ -0,0 +1,5 @@ |
|||||||
|
#include "foo/foo.h" |
||||||
|
|
||||||
|
void bar() { |
||||||
|
foo(); |
||||||
|
} |
@ -0,0 +1,3 @@ |
|||||||
|
int foo() { |
||||||
|
return 1 + 2; |
||||||
|
} |
@ -0,0 +1 @@ |
|||||||
|
int foo(); |
@ -0,0 +1,3 @@ |
|||||||
|
foo = library('foo', 'foo.c', |
||||||
|
install: true, |
||||||
|
) |
@ -0,0 +1,8 @@ |
|||||||
|
project('proj', 'c') |
||||||
|
|
||||||
|
subdir('foo') |
||||||
|
|
||||||
|
bar = library('bar', 'bar.c', |
||||||
|
link_with: foo, |
||||||
|
install: true, |
||||||
|
) |
Loading…
Reference in new issue