mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
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
1 changed files with 5 additions and 1 deletions
|
@ -64,7 +64,11 @@ (define sdl
|
||||||
;; OpenGL library is still dlopened at runtime.
|
;; OpenGL library is still dlopened at runtime.
|
||||||
#:configure-flags '("--disable-alsa-shared"
|
#:configure-flags '("--disable-alsa-shared"
|
||||||
"--disable-pulseaudio-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
|
#:tests? #f)) ; no check target
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
|
Loading…
Reference in a new issue