gnu: libdeflate: Omit static library.

* gnu/packages/compression.scm (libdeflate)[arguments]:
Add a new 'skip-static-library-installation phase.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-15 02:00:00 +02:00
parent c9512e6dc5
commit 054c55cac9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2664,6 +2664,10 @@ (define-public libdeflate
(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))