summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-06-05 11:43:00 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-06-05 11:43:00 +0200
commit3a8d0eff9ef4037b0234fc2508039ab48af8d633 (patch)
treebaa4fedccc05ab14cc16801d88f645529e8a8fab /gnu/packages
parent573f777495eee94c62bd5f80dd71f2a787d63018 (diff)
downloadguix-3a8d0eff9ef4037b0234fc2508039ab48af8d633.tar.gz
gnu: liquid-dsp: Remove static library.
* gnu/packages/radio.scm (liquid-dsp)[arguments]: Add 'delete-static-library'
  phase.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/radio.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 2b13c062d7..6d2ab5ff1c 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -141,6 +141,13 @@ useful in modems implemented with @dfn{digital signal processing} (DSP).")
      `(("fftw" ,fftw)
        ("fftwf" ,fftwf)
        ("libfec" ,libfec)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'delete-static-library
+           (lambda* (#:key outputs #:allow-other-keys)
+             (delete-file (string-append (assoc-ref outputs "out")
+                                         "/lib/libliquid.a")))))))
     (home-page "https://liquidsdr.org")
     (synopsis "Signal processing library for software-defined radios")
     (description