~ruther/guix-local

ad35e2f8eca260a83fe029396d1cc5da5eefaf79 — Tobias Geerinckx-Rice 5 years ago e64af20
gnu: ustr: Omit static libraries.

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

M gnu/packages/textutils.scm
M gnu/packages/textutils.scm => gnu/packages/textutils.scm +5 -0
@@ 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