gnu: vcflib: Build a shared library.
* gnu/packages/bioinformatics.scm (vcflib)[arguments]: Add phase to build a shared library instead of a static one.
This commit is contained in:
parent
797585746b
commit
d6a8148c8d
1 changed files with 7 additions and 0 deletions
|
@ -15061,6 +15061,13 @@ library automatically handles index file generation and use.")
|
||||||
`(#:tests? #f ; no tests
|
`(#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'build-shared-library
|
||||||
|
(lambda _
|
||||||
|
(substitute* "CMakeLists.txt"
|
||||||
|
(("vcflib STATIC") "vcflib SHARED"))
|
||||||
|
(substitute* "test/Makefile"
|
||||||
|
(("libvcflib.a") "libvcflib.so"))
|
||||||
|
#t))
|
||||||
(add-after 'unpack 'unpack-submodule-sources
|
(add-after 'unpack 'unpack-submodule-sources
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((unpack (lambda (source target)
|
(let ((unpack (lambda (source target)
|
||||||
|
|
Reference in a new issue