guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: vcflib: Build a shared library.


From: guix-commits
Subject: 02/06: gnu: vcflib: Build a shared library.
Date: Tue, 19 Jan 2021 04:51:23 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit d6a8148c8d61d7dfcfa14ee45b78e95aad51e2bf
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jan 19 10:43:06 2021 +0200

    gnu: vcflib: Build a shared library.
    
    * gnu/packages/bioinformatics.scm (vcflib)[arguments]: Add phase to
    build a shared library instead of a static one.
---
 gnu/packages/bioinformatics.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 908ae8a..1164873 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15061,6 +15061,13 @@ library automatically handles index file generation 
and use.")
      `(#:tests? #f ; no tests
        #: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
            (lambda* (#:key inputs #:allow-other-keys)
              (let ((unpack (lambda (source target)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]