~ruther/guix-local

b416c647e934c1a086a3cb534d31968e7ea53808 — 宋文武 11 years ago e32316e
gnu: jack2: Add $libdir to the RUNPATH of all the binaries.

* gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.
1 files changed, 12 insertions(+), 1 deletions(-)

M gnu/packages/audio.scm
M gnu/packages/audio.scm => gnu/packages/audio.scm +12 -1
@@ 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)