From 00c16d5b84f11d4eea3d06178d93cfc27bf3a931 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 4 Nov 2015 09:55:16 +0100 Subject: gnu: csound: Link against libmvec on x86_64. * gnu/packages/audio.scm (csound)[arguments]: New field. --- gnu/packages/audio.scm | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- cgit v1.2.3