From 054c55cac995e2ac8f40959f7274965051025a5d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 15 May 2022 02:00:00 +0200 Subject: [PATCH] gnu: libdeflate: Omit static library. * gnu/packages/compression.scm (libdeflate)[arguments]: Add a new 'skip-static-library-installation phase. --- gnu/packages/compression.scm | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ (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))