mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: jack2: Add $libdir to the RUNPATH of all the binaries.
* gnu/packages/audio.scm (jack2)[arguments]: Add #:phases.
This commit is contained in:
parent
e32316e62f
commit
b416c647e9
1 changed files with 12 additions and 1 deletions
|
@ -520,7 +520,18 @@ (define-public jack-2
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
`(#:tests? #f ; no check target
|
||||||
#:configure-flags '("--dbus"
|
#: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
|
(inputs
|
||||||
`(("alsa-lib" ,alsa-lib)
|
`(("alsa-lib" ,alsa-lib)
|
||||||
("dbus" ,dbus)
|
("dbus" ,dbus)
|
||||||
|
|
Loading…
Reference in a new issue