Skip to content
Snippets Groups Projects
Unverified Commit d6a8148c authored by Efraim Flashner's avatar Efraim Flashner
Browse files

gnu: vcflib: Build a shared library.

* gnu/packages/bioinformatics.scm (vcflib)[arguments]: Add phase to
build a shared library instead of a static one.
parent 79758574
No related branches found
No related tags found
No related merge requests found
...@@ -15061,6 +15061,13 @@ (define-public vcflib ...@@ -15061,6 +15061,13 @@ (define-public vcflib
`(#: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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment