rekado pushed a commit to branch wip-gnome-upgrades
in repository guix.
commit e8550706bdb20542337bf340961d8d5c71851d41
Author: Ricardo Wurmus <[email protected]>
Date: Fri Nov 30 08:54:54 2018 +0100
gnu: eog: Ensure RUNPATH contains output library directory.
* gnu/packages/gnome.scm (eog)[arguments]: Pass configure flag to add
$out/lib/eog to RUNPATH.
---
gnu/packages/gnome.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 9d1db72..f49d68a 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3875,7 +3875,11 @@ supports playlists, song ratings, and any codecs
installed through gstreamer.")
"1gasrfqi7qrzdq1idh29r0n6ikkqjb6pbp7a8k5krfz5hkhyfin0"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:configure-flags
+ ;; Otherwise, the RUNPATH will lack the final 'eog' path component.
+ (list (string-append "-Dc_link_args=-Wl,-rpath="
+ (assoc-ref %outputs "out") "/lib/eog"))
+ #:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-eog
(lambda* (#:key outputs #:allow-other-keys)