gnu: sdl: Explicitly use mesa as OpenGL driver.

* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
  'LDFLAGS=-lGL'.
This commit is contained in:
宋文武 2015-03-21 15:08:39 +08:00
parent 83bb3a3ee4
commit 07780c714e

View file

@ -64,7 +64,11 @@ (define sdl
;; 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