mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: lilv: Set rpath via LDFLAGS.
Fixes <http://bugs.gnu.org/20040>. * gnu/packages/audio.scm (lilv): Add a pre-configure phase setting $LDFLAGS to set the rpath to $out/lib.
This commit is contained in:
parent
7e81a761e7
commit
d80ee44237
1 changed files with 10 additions and 1 deletions
|
@ -713,7 +713,16 @@ (define-public lilv
|
|||
(base32
|
||||
"0aj2plkx56iar8vzjbq2l7hi7sp0ml99m0h44rgwai2x4vqkk2j2"))))
|
||||
(build-system waf-build-system)
|
||||
(arguments `(#:tests? #f)) ; no check target
|
||||
(arguments
|
||||
`(#:tests? #f ; no check target
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before
|
||||
'configure 'set-ldflags
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(setenv "LDFLAGS"
|
||||
(string-append "-Wl,-rpath="
|
||||
(assoc-ref outputs "out") "/lib")))))))
|
||||
;; required by lilv-0.pc
|
||||
(propagated-inputs
|
||||
`(("serd" ,serd)
|
||||
|
|
Loading…
Reference in a new issue