guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: jack2: Add $libdir to the RUNPATH of all the binaries.


From: ???
Subject: 01/01: gnu: jack2: Add $libdir to the RUNPATH of all the binaries.
Date: Wed, 29 Apr 2015 16:10:35 +0000

iyzsong pushed a commit to branch core-updates
in repository guix.

commit b416c647e934c1a086a3cb534d31968e7ea53808
Author: 宋文武 <address@hidden>
Date:   Thu Apr 30 00:03:10 2015 +0800

    gnu: jack2: Add $libdir to the RUNPATH of all the binaries.
    
    * gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.
---
 gnu/packages/audio.scm |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 06f8bbd..593d47d 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -520,7 +520,18 @@ synchronous execution of all clients, and low latency 
operation.")
     (arguments
      `(#:tests? #f  ; no check target
        #:configure-flags '("--dbus"
-                           "--alsa")))
+                           "--alsa")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before
+          'configure 'set-linkflags
+          (lambda _
+            ;; Add $libdir to the RUNPATH of all the binaries.
+            (substitute* "wscript"
+              ((".*CFLAGS.*-Wall.*" m)
+               (string-append m
+                              "    conf.env.append_unique('LINKFLAGS',"
+                              "'-Wl,-rpath=" %output "/lib')\n"))))))))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("dbus" ,dbus)



reply via email to

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