diff options
author | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-04-30 16:32:30 +0200 |
---|---|---|
committer | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-04-30 16:34:36 +0200 |
commit | 7e81a761e7c4843c016818bbf1637af9047e2028 (patch) | |
tree | 7525eb4e2f565fe6bb9cdba21683ad5a8b993a7b /gnu/packages/rdf.scm | |
parent | 90ea9863c8daa4cc91e8a972501e19058c70b81a (diff) | |
download | patches-7e81a761e7c4843c016818bbf1637af9047e2028.tar patches-7e81a761e7c4843c016818bbf1637af9047e2028.tar.gz |
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.
Diffstat (limited to 'gnu/packages/rdf.scm')
-rw-r--r-- | gnu/packages/rdf.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm index a4acfd0834..f26b021e50 100644 --- a/gnu/packages/rdf.scm +++ b/gnu/packages/rdf.scm @@ -277,7 +277,16 @@ ideal (e.g. in LV2 implementations or embedded applications).") (base32 "0rq7vafdv4vsxi6xk9zf5shr59w3kppdhqbj78185rz5gp9kh1dx")))) (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 `(("serd" ,serd))) (native-inputs |