Skip to content
Snippets Groups Projects
Commit afadb05e authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

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.
parent ee6a88b1
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,16 @@ (define-public alsa-modular-synth ...@@ -81,7 +81,16 @@ (define-public alsa-modular-synth
"1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0")))) "1azbrhpfk4nnybr7kgmc7w6al6xnzppg853vas8gmkh185kk11l0"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (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 (inputs
`(("alsa-lib" ,alsa-lib) `(("alsa-lib" ,alsa-lib)
;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment