From a93b4da656c799375c88c0050733ea9bf8efed55 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 30 Aug 2019 18:05:40 +0100 Subject: build: Give all libraries a RUNPATH for our private libraries 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 Bug-Debian: https://bugs.debian.org/927731 --- lib/sync/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sync') 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( -- cgit v1.2.1