summaryrefslogtreecommitdiff
path: root/source/l/gvfs/0001-daemon-meson.build-define-gvfs_rpath-for-libgvfsdaem.patch
blob: 23281014464fb223fa403af92de68035e4f1d0ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 940cb1d7dc3bd511ebd71c359cc5386d3682e0ba Mon Sep 17 00:00:00 2001
From: Robby Workman <rworkman@slackware.com>
Date: Thu, 18 Jul 2019 03:38:41 -0500
Subject: [PATCH] daemon/meson.build: define gvfs_rpath for libgvfsdaemon.so

On Slackware development branch with gvfs-1.40.2, I just noticed this:
  # ldd /usr/lib64/gvfs/libgvfsdaemon.so | grep "not found"
	libgvfscommon.so => not found

After some backtracking, it seems that this first occurred in the
switchover from autotools to meson in the 1.36.x --> 1.38.x bump.

Big thanks to Cogitri in #gnome/irc.gnome.org for the patience and
assistance with troubleshooting this.

Signed-off-by: Robby Workman <rworkman@slackware.com>
---
 daemon/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/daemon/meson.build b/daemon/meson.build
index 2d253e3b..75750cee 100644
--- a/daemon/meson.build
+++ b/daemon/meson.build
@@ -124,6 +124,7 @@ libgvfsdaemon = shared_library(
   c_args: cflags,
   install: true,
   install_dir: gvfs_pkglibdir,
+  install_rpath: gvfs_rpath,
 )
 
 libgvfsdaemon_dep = declare_dependency(
-- 
2.22.0