Use -rpath-link with the absolute paths to the respective build dirs to work around a binutils bug that causes $ORIGIN to not be used while linking. Includes a unit test that manually checks the RPATH value written out to ensure that it uses $ORIGIN. See: https://sourceware.org/bugzilla/show_bug.cgi?id=16936 Closes https://github.com/mesonbuild/meson/issues/1897pull/1898/head
parent
d79bdb9b6b
commit
264ce6c0bc
2 changed files with 28 additions and 1 deletions
Loading…
Reference in new issue