mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
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:
parent
f50adf0b79
commit
673c58cdee
1 changed files with 5 additions and 0 deletions
|
@ -4848,6 +4848,11 @@ (define-public lsp-dsp-lib
|
|||
(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"
|
||||
|
|
Loading…
Reference in a new issue