gnu: lsp-dsp-lib: Omit static library.

* gnu/packages/audio.scm (lsp-dsp-lib)[arguments]: Add an 'omit-static-library phase.
This commit is contained in:
Tobias Geerinckx-Rice 2021-01-01 17:17:05 +01:00
parent f50adf0b79
commit 673c58cdee
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -4848,6 +4848,11 @@ edited, converted, compressed and saved.")
(list (string-append "CC=" ,(cc-for-target)))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'omit-static-library
(lambda _
(substitute* "src/Makefile"
((".*@.*ARTIFACT_SLIB.*") "") ; don't install it
((" \\$\\(ARTIFACT_SLIB\\)") "")))) ; don't build it
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(invoke "make" "config"