[tracker-miners/wip/carlosg/cli-split: 13/23] build: Include libdir in rpath
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/cli-split: 13/23] build: Include libdir in rpath
- Date: Sun, 29 Dec 2019 21:49:34 +0000 (UTC)
commit 402d42d0f383b1683f9734319c8bd6962c30994d
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Jul 10 11:19:39 2019 +0100
build: Include libdir in rpath
This fixes the case where Tracker is installed into a non-standard
prefix such as /opt/tracker and then fails to start with an error
such as this:
/opt/tracker/bin/tracker: error while loading shared libraries: libtracker-control-2.0.so.0:
cannot open shared object file: No such file or directory
src/tracker/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker/meson.build b/src/tracker/meson.build
index c54d3d2de..1bc682cb2 100644
--- a/src/tracker/meson.build
+++ b/src/tracker/meson.build
@@ -22,7 +22,7 @@ executable('tracker', sources,
'-DMANDIR="@0@"'.format(join_paths(get_option('prefix'), get_option('datadir'), 'man')),
],
install: true,
- install_rpath: tracker_internal_libs_dir,
+ install_rpath: tracker_install_rpath,
# This doesn't depend on tracker_common_dep because of
# https://github.com/mesonbuild/meson/issues/671
dependencies: [tracker_control_dep, tracker_sparql_dep, tracker_data_dep],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]