aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-15 02:00:00 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-15 02:00:18 +0200
commit054c55cac995e2ac8f40959f7274965051025a5d (patch)
tree9cd871496016f3527b0eba248d5bb02f6f9ac2bf
parentc9512e6dc5e127ec4d72e5ed03fad9fad02279eb (diff)
downloadguix-054c55cac995e2ac8f40959f7274965051025a5d.tar.gz
guix-054c55cac995e2ac8f40959f7274965051025a5d.zip
gnu: libdeflate: Omit static library.
* gnu/packages/compression.scm (libdeflate)[arguments]: Add a new 'skip-static-library-installation phase.
-rw-r--r--gnu/packages/compression.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 9310b5293e..ada6a927a8 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2664,6 +2664,10 @@ to their original, binary CD format.")
(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))