Skip to content

build: Give all libraries a RUNPATH for our private libraries

Simon McVittie requested to merge wip/smcv/rpath into master

Setting a RUNPATH on a loadable module like libephywebextension is enough to search that directory for private libraries that it directly depends on, but not enough to search that directory for those libraries' dependencies, such as libephymisc loading the bundled libdazzle on the 3.32 branch. Address this by giving libephymisc its own RUNPATH so it loads the correct dependencies.

For completeness, do the same for all private shared libraries that didn't already have install_rpath.

Signed-off-by: Simon McVittie smcv@debian.org
Bug-Debian: https://bugs.debian.org/927731

Edited by Simon McVittie

Merge request reports