gnu: sord: Set rpath via LDFLAGS.

Fixes <http://bugs.gnu.org/20044>.

* gnu/packages/rdf.scm (sord): Add a pre-configure phase setting $LDFLAGS to
  set the rpath to $out/lib.
This commit is contained in:
Taylan Ulrich Bayırlı/Kammer 2015-04-30 16:32:30 +02:00
parent 90ea9863c8
commit 7e81a761e7
1 changed files with 10 additions and 1 deletions

View File

@ -277,7 +277,16 @@ ideal (e.g. in LV2 implementations or embedded applications).")
(base32 (base32
"0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx")))) "0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx"))))
(build-system waf-build-system) (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")))))))
(inputs (inputs
`(("serd" ,serd))) `(("serd" ,serd)))
(native-inputs (native-inputs