On Wed, 28 Aug 2019 at 08:29:20 +0100, Simon McVittie wrote: > I'm not sure why the RPATH/RUNPATH isn't being set, because ephymain > and ephywebprocessextension both have "install_rpath: pkglibdir" in > their respective meson.build files, but for some reason only the one > for ephymain seems to "stick"?
ephywebprocessextension does seem to get a correct RUNPATH, so it isn't that. The only binary that links to libdazzle but doesn't have a RUNPATH seems to be libephymisc.so (libephysync.so also doesn't have a RUNPATH, but it doesn't link directly to libdazzle either). I wonder whether one of those could be the problem? If you can reproduce this but you can't tell me how I can, please try an epiphany-browser built with this patch: ===== diff --git a/lib/meson.build b/lib/meson.build index be5af33ef..0eb47570e 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -87,7 +87,8 @@ libephymisc = shared_library('ephymisc', dependencies: libephymisc_deps, include_directories: libephymisc_includes, install: true, - install_dir: pkglibdir + install_dir: pkglibdir, + install_rpath: pkglibdir ) ephymisc_dep = declare_dependency( ===== Or if that isn't sufficient, try adding this as well: ===== diff --git a/lib/sync/meson.build b/lib/sync/meson.build index 5a5b066e8..73a0bfa1d 100644 --- a/lib/sync/meson.build +++ b/lib/sync/meson.build @@ -39,7 +39,8 @@ libephysync = shared_library('ephysync', dependencies: libephysync_deps, include_directories: libephysync_includes, install: true, - install_dir: pkglibdir + install_dir: pkglibdir, + install_rpath: pkglibdir ) ephysync_dep = declare_dependency( ===== Thanks, smcv