guix-commits
[Top][All Lists]
Advanced

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

60/62: gnu: eog: Ensure RUNPATH contains output library directory.


From: guix-commits
Subject: 60/62: gnu: eog: Ensure RUNPATH contains output library directory.
Date: Fri, 8 Feb 2019 16:26:45 -0500 (EST)

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

commit 47edab10b21ff63665fc32af1a15558d65035af7
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 7f4e5ef..8d8f1a8 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)



reply via email to

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