[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: csound: Link against libmvec on x86_64.
From: |
Ludovic Courtès |
Subject: |
03/03: gnu: csound: Link against libmvec on x86_64. |
Date: |
Wed, 04 Nov 2015 09:03:19 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 00c16d5b84f11d4eea3d06178d93cfc27bf3a931
Author: Ludovic Courtès <address@hidden>
Date: Wed Nov 4 09:55:16 2015 +0100
gnu: csound: Link against libmvec on x86_64.
* gnu/packages/audio.scm (csound)[arguments]: New field.
---
gnu/packages/audio.scm | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 92ece7a..db3f912 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)