summaryrefslogtreecommitdiff
path: root/lib/sync
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2019-08-30 18:05:40 +0100
committerMichael Catanzaro <mcatanzaro@gnome.org>2019-08-31 09:24:59 +0000
commita93b4da656c799375c88c0050733ea9bf8efed55 (patch)
tree6e3484a1874e4cb595fc73286f86cf4472ac79e3 /lib/sync
parent1ba72c363c291491109e791e1312c535390757b5 (diff)
downloadepiphany-a93b4da656c799375c88c0050733ea9bf8efed55.tar.gz
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 <smcv@debian.org> Bug-Debian: https://bugs.debian.org/927731
Diffstat (limited to 'lib/sync')
-rw-r--r--lib/sync/meson.build3
1 files changed, 2 insertions, 1 deletions
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(