guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: libdeflate: Omit static library.


From: guix-commits
Subject: 05/07: gnu: libdeflate: Omit static library.
Date: Sat, 21 May 2022 21:39:29 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 054c55cac995e2ac8f40959f7274965051025a5d
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun May 15 02:00:00 2022 +0200

    gnu: libdeflate: Omit static library.
    
    * gnu/packages/compression.scm (libdeflate)[arguments]:
    Add a new 'skip-static-library-installation phase.
---
 gnu/packages/compression.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 9310b5293e..ada6a927a8 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2664,6 +2664,10 @@ to their original, binary CD format.")
              (string-append "PREFIX=" (assoc-ref %outputs "out")))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'skip-static-library-installation
+           (lambda _
+             (substitute* "Makefile"
+               (("install .*\\$\\(STATIC_LIB\\).*") ""))))
          (delete 'configure))))
     (inputs
      (list zlib))



reply via email to

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