gnu: ustr: Omit static libraries.

* gnu/packages/textutils.scm (ustr)[arguments]: Add a new
'omit-static-libraries phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-04-29 00:31:50 +02:00
parent e64af2060e
commit ad35e2f8ec
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -336,6 +336,11 @@ (define-public ustr
"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