nckx pushed a commit to branch master
in repository guix.
commit ad35e2f8eca260a83fe029396d1cc5da5eefaf79
Author: Tobias Geerinckx-Rice <[email protected]>
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