From 4d0e085beace3da85c45058d6bb3ec2ff77d5835 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 30 Nov 2018 09:41:03 +0100 Subject: gnu: gnome-settings-daemon: Ensure RUNPATH contains library subdir. * gnu/packages/gnome.scm (gnome-settings-daemon)[arguments]: Pass configure flag to add $out/lib/gnome-settings-daemon-3.0 to RUNPATH. --- gnu/packages/gnome.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'gnu/packages') diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index b019f46419..6a9c44ce0b 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3184,7 +3184,11 @@ services for numerous locations.") #:configure-flags (list (string-append "-Dudev_dir=" (assoc-ref %outputs "out") - "/lib/udev/rules.d/")) + "/lib/udev/rules.d/") + ;; Otherwise, the RUNPATH will lack the final path component. + (string-append "-Dc_link_args=-Wl,-rpath=" + (assoc-ref %outputs "out") + "/lib/gnome-settings-daemon-3.0")) ;; Color management test can't reach the colord system service. #:tests? #f)) (native-inputs -- cgit v1.2.3