Skip to content
Snippets Groups Projects
Unverified Commit 2c6b6d79 authored by Tobias Geerinckx-Rice's avatar Tobias Geerinckx-Rice
Browse files

gnu: libopenmpt: Remove 5.1-MiB static library.

* gnu/packages/audio.scm (libopenmpt)[arguments]: Add a
‘delete-static-libraries’ phase.
parent 2933e4d4
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,15 @@ (define-public libopenmpt ...@@ -311,7 +311,15 @@ (define-public libopenmpt
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "--docdir=" (assoc-ref %outputs "out") (list (string-append "--docdir=" (assoc-ref %outputs "out")
"/share/doc/" ,name "-" ,version)))) "/share/doc/" ,name "-" ,version))
#:phases
(modify-phases %standard-phases
(add-after 'install 'delete-static-libraries
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib")))
(for-each delete-file (find-files lib "\\.a$"))
#t))))))
(native-inputs (native-inputs
`(("doxygen" ,doxygen) `(("doxygen" ,doxygen)
("perl" ,perl) ("perl" ,perl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment