gnu: sdl: Explicitly use mesa as OpenGL driver.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add 'LDFLAGS=-lGL'.
This commit is contained in:
parent
83bb3a3ee4
commit
07780c714e
|
@ -64,7 +64,11 @@
|
|||
;; OpenGL library is still dlopened at runtime.
|
||||
#:configure-flags '("--disable-alsa-shared"
|
||||
"--disable-pulseaudio-shared"
|
||||
"--disable-x11-shared")
|
||||
"--disable-x11-shared"
|
||||
;; Explicitly link with mesa.
|
||||
;; This add mesa to libsdl's RUNPATH, to make dlopen
|
||||
;; finding the libGL from mesa at runtime.
|
||||
"LDFLAGS=-lGL")
|
||||
|
||||
#:tests? #f)) ; no check target
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in New Issue