summary refs log tree commit diff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-11-04 09:55:16 +0100
committerLudovic Courtès <ludo@gnu.org>2015-11-04 09:55:16 +0100
commit00c16d5b84f11d4eea3d06178d93cfc27bf3a931 (patch)
treedac8ca09969d310e35e58647872685ec7f5422a9 /gnu/packages/audio.scm
parent4f14c628dc805d07fa01f25d054f030c8179c99b (diff)
downloadguix-00c16d5b84f11d4eea3d06178d93cfc27bf3a931.tar.gz
gnu: csound: Link against libmvec on x86_64.
* gnu/packages/audio.scm (csound)[arguments]: New field.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 92ece7a47e..db3f91273c 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -320,6 +320,12 @@ tools (analyzer, mono/stereo tools, crossovers).")
                (base32
                 "0a1sni6lr7qpwywpggbkp0ia3h9bwwgf9i87gsag8ra2h30v82hd"))))
     (build-system cmake-build-system)
+    (arguments
+     ;; Work around this error on x86_64 with libc 2.22+:
+     ;;    libmvec.so.1: error adding symbols: DSO missing from command line
+     (if (string-prefix? "x86_64" (or (%current-target-system) (%current-system)))
+         '(#:configure-flags '("-DCMAKE_EXE_LINKER_FLAGS=-lmvec"))
+         '()))
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("boost" ,boost)