summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-01-01 17:17:05 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-01-02 18:54:16 +0100
commit673c58cdeead11be86688096ff77ca62bdd17ef3 (patch)
treed60eb6707f111f373fb229ea7f7191b4d99e1684 /gnu/packages
parentf50adf0b7917231cad59dd2ddfda7fe0872be79a (diff)
downloadguix-673c58cdeead11be86688096ff77ca62bdd17ef3.tar.gz
gnu: lsp-dsp-lib: Omit static library.
* gnu/packages/audio.scm (lsp-dsp-lib)[arguments]: Add an 'omit-static-library phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/audio.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 5d607e37dc..cf68ddf0d8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -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"