gnu: serd: Set rpath via LDFLAGS.
Fixes <http://bugs.gnu.org/20051>. * gnu/packages/rdf.scm (serd): Add a pre-configure phase setting $LDFLAGS to set the rpath to $out/lib.
This commit is contained in:
parent
a0a0b7162e
commit
90ea9863c8
|
@ -243,7 +243,16 @@ and triple stores.")
|
|||
(base32
|
||||
"1gxbzqsm212wmn8qkdd3lbl6wbv7fwmaf9qh2nxa4yxjbr7mylb4"))))
|
||||
(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")))))))
|
||||
(home-page "http://drobilla.net/software/serd/")
|
||||
(synopsis "Library for RDF syntax supporting Turtle and NTriples")
|
||||
(description
|
||||
|
|
Loading…
Reference in New Issue