gnu: sdl: Allow dlopen for OpenGL.

Fixes a regression introduced in 666aa99.
Reported by Felipe López and David Thompson.

* gnu/packages/sdl.scm (sdl)[inputs]: Add glu.
  [arguments]<#:configure-flags>: Replace '--disable-sdl-dlopen' with
  '--disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared'.
This commit is contained in:
宋文武 2015-03-18 12:48:16 +08:00
parent ef5cbf9bae
commit 83bb3a3ee4
1 changed files with 6 additions and 2 deletions

View File

@ -60,8 +60,11 @@
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
'(;; Explicitly link against shared libraries instead of dlopening them. '(;; Explicitly link against shared libraries instead of dlopening them.
;; For X11, ALSA, PulseAudio, etc. ;; For X11, ALSA, and PulseAudio.
#:configure-flags '("--disable-sdl-dlopen") ;; OpenGL library is still dlopened at runtime.
#:configure-flags '("--disable-alsa-shared"
"--disable-pulseaudio-shared"
"--disable-x11-shared")
#:tests? #f)) ; no check target #:tests? #f)) ; no check target
(propagated-inputs (propagated-inputs
@ -71,6 +74,7 @@
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("libxrandr" ,libxrandr) (inputs `(("libxrandr" ,libxrandr)
("mesa" ,mesa) ("mesa" ,mesa)
("glu" ,glu)
("alsa-lib" ,alsa-lib) ("alsa-lib" ,alsa-lib)
("pulseaudio" ,pulseaudio))) ("pulseaudio" ,pulseaudio)))
(synopsis "Cross platform game development library") (synopsis "Cross platform game development library")