mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: sdl-mixer: Fix fluidsynth in dependents.
Fixes <https://bugs.gnu.org/39008>. Reported by Pierre Neidhardt <mail@ambrevar.xyz>. * gnu/packages/sdl.scm (sdl-mixer)[arguments]<#:phases>[fix-fluidsynth]: New phase.
This commit is contained in:
parent
058d0251bd
commit
fa0c1a21c9
1 changed files with 12 additions and 1 deletions
|
@ -270,7 +270,18 @@ (define-public sdl-mixer
|
|||
"--disable-music-flac-shared"
|
||||
"--disable-music-fluidsynth-shared"
|
||||
"--disable-music-mod-shared"
|
||||
"--disable-music-ogg-shared")))
|
||||
"--disable-music-ogg-shared")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-fluidsynth
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "configure"
|
||||
(("EXTRA_LDFLAGS -lfluidsynth")
|
||||
(string-append "EXTRA_LDFLAGS "
|
||||
"-L"
|
||||
(assoc-ref inputs "fluidsynth")
|
||||
"/lib -lfluidsynth")))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("fluidsynth" ,fluidsynth)
|
||||
("libflac" ,flac)
|
||||
|
|
Loading…
Reference in a new issue