From 34c44a34abeea2b7ee5362f6c54a7348ef321065 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 30 Nov 2018 08:54:54 +0100 Subject: 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 2629b286f8..b019f46419 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -3976,7 +3976,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) -- cgit 1.4.1