Ludovic Courtès <l...@gnu.org> writes:
> 宋文武 <iyzs...@gmail.com> skribis:
>
>> * gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
>> 'LDFLAGS=-lGL'.
>
> [...]
>
>> #:configure-flags '("--disable-alsa-shared"
>> "--disable-pulseaudio-shared"
>> - "--disable-x11-shared")
>> + "--disable-x11-shared"
>> + ;; Explicity link with mesa as OpenGL driver.
>> + "LDFLAGS=-lGL")
>
> Could you explain in the comment why this is necessary? I guess that’s
> to make sure Mesa in the libsdl’s RUNPATH?
Done and pushed, thanks for review!
>
> Thanks,
> Ludo’.