diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-03-06 21:11:37 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-03-06 21:17:05 +0100 |
commit | afadb05e586dab503cf0f61e3ae3dd42be806e3a (patch) | |
tree | 448e2540f2bc7e49b383260a55f179a1c7191280 /gnu/packages/audio.scm | |
parent | ee6a88b1182499d4fbd5ad7bae9e8620b66d27bf (diff) | |
download | patches-afadb05e586dab503cf0f61e3ae3dd42be806e3a.tar patches-afadb05e586dab503cf0f61e3ae3dd42be806e3a.tar.gz |
gnu: alsa-modular-synth: Insert space to separate linker flags.
* gnu/packages/audio.scm (alsa-modular-synth)[arguments]: Add build
phase to separate linker flags.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 1c9efc25ba..10c2632867 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -81,7 +81,16 @@ "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0")))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--enable-qt5"))) + `(#:configure-flags '("--enable-qt5") + #:phases + (modify-phases %standard-phases + ;; Insert an extra space between linker flags. + (add-before 'configure 'add-missing-space + (lambda _ + (substitute* "configure" + (("LIBS\\+=\\$LIBSsave") "LIBS+=\" $LIBSsave\"") + (("CFLAGS\\+=\\$CFLAGSsave") "CFLAGS+=\" $CFLAGSsave\"")) + #t))))) (inputs `(("alsa-lib" ,alsa-lib) ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to |