guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

71/74: gnu: eog: Ensure RUNPATH contains output library directory.


From: guix-commits
Subject: 71/74: gnu: eog: Ensure RUNPATH contains output library directory.
Date: Fri, 30 Nov 2018 09:07:27 -0500 (EST)

rekado pushed a commit to branch wip-gnome-upgrades
in repository guix.

commit 075435144cb43d12896949d75df35e1f3f7024e9
Author: Ricardo Wurmus <address@hidden>
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 8961730..772ff0c 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3879,7 +3879,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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]