mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: bamtools: Set rpath via LDFLAGS.
* gnu/packages/bioinformatics.scm (bamtools): Add a pre-configure phase setting $LDFLAGS to set the rpath to $out/lib/bamtools.
This commit is contained in:
parent
a73956baf4
commit
4702cec246
1 changed files with 11 additions and 1 deletions
|
@ -62,7 +62,17 @@
|
||||||
(base32
|
(base32
|
||||||
"1brry29bw2xr2l9pqn240rkqwayg85b8qq78zk2zs6nlspk4d018"))))
|
"1brry29bw2xr2l9pqn240rkqwayg85b8qq78zk2zs6nlspk4d018"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-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/bamtools")))))))
|
||||||
(inputs `(("zlib" ,zlib)))
|
(inputs `(("zlib" ,zlib)))
|
||||||
(home-page "https://github.com/pezmaster31/bamtools")
|
(home-page "https://github.com/pezmaster31/bamtools")
|
||||||
(synopsis "C++ API and command-line toolkit for working with BAM data")
|
(synopsis "C++ API and command-line toolkit for working with BAM data")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue