guix-commits
[Top][All Lists]
Advanced

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

01/09: gnu: ustr: Omit static libraries.


From: guix-commits
Subject: 01/09: gnu: ustr: Omit static libraries.
Date: Sat, 1 May 2021 05:29:43 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit ad35e2f8eca260a83fe029396d1cc5da5eefaf79
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Apr 29 00:31:50 2021 +0200

    gnu: ustr: Omit static libraries.
    
    * gnu/packages/textutils.scm (ustr)[arguments]: Add a new
    'omit-static-libraries phase.
---
 gnu/packages/textutils.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index a51d689..ab34373 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -336,6 +336,11 @@ input bits thoroughly but are not suitable for 
cryptography.")
                      "echo 1"
                      "echo 0"))
                (("\\./autoconf_vsnprintf") "echo 0"))))
+         (add-after 'unpack 'omit-static-libraries
+           ;; These are needed to build & test ustr, but don't install them.
+           (lambda _
+             (substitute* "Makefile"
+               ((".*install.*LIB_STATIC.*") ""))))
          (add-after 'unpack 'disable-check-for-stdint
            (lambda _
              ;; Of course we have stdint.h, just not in /usr/include



reply via email to

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