diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-02-12 17:30:26 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-02-14 18:33:58 +0100 |
commit | 986dce4f8537a1c63c8cc38d800e4699f7eb0733 (patch) | |
tree | 3ed194a71270f95475e2c81b640b7285318ffc8a /gnu/packages/compression.scm | |
parent | 43f0cfcd0fcbd4ebd64217d9a9660d8062a1bbfa (diff) | |
download | guix-986dce4f8537a1c63c8cc38d800e4699f7eb0733.tar.gz |
gnu: lz4: Do not install liblz4.a.
* gnu/packages/compression.scm (lz4)[arguments]: Add phase 'delete-static-library'.
Diffstat (limited to 'gnu/packages/compression.scm')
-rw-r--r-- | gnu/packages/compression.scm | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 98af41760f..30db84e167 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2016 David Craven <david@craven.ch> ;;; Copyright © 2016, 2019 Kei Kebreau <kkebreau@posteo.net> -;;; Copyright © 2016, 2018, 2019 Marius Bakke <mbakke@fastmail.com> +;;; Copyright © 2016, 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2017 ng0 <ng0@n0.is> ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com> ;;; Copyright © 2017 Theodoros Foradis <theodoros@foradis.org> @@ -764,7 +764,12 @@ decompression of some loosely related file formats used by Microsoft.") (substitute* "tests/Makefile" (("^test: (.*) test-install" _ targets) (string-append "test: " targets))) - #t))))) + #t)) + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (delete-file (string-append out "/lib/liblz4.a")) + #t)))))) (home-page "https://www.lz4.org") (synopsis "Compression algorithm focused on speed") (description "LZ4 is a lossless compression algorithm, providing |