[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] gnu: sdl: Explicity use mesa as OpenGL driver.
From: |
宋文武 |
Subject: |
[PATCH 2/2] gnu: sdl: Explicity use mesa as OpenGL driver. |
Date: |
Sat, 21 Mar 2015 15:47:26 +0800 |
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
'LDFLAGS=-lGL'.
---
gnu/packages/sdl.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index fd555f9..2c90d31 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -64,7 +64,9 @@
;; OpenGL library is still dlopened at runtime.
#:configure-flags '("--disable-alsa-shared"
"--disable-pulseaudio-shared"
- "--disable-x11-shared")
+ "--disable-x11-shared"
+ ;; Explicity link with mesa as OpenGL driver.
+ "LDFLAGS=-lGL")
#:tests? #f)) ; no check target
(propagated-inputs
--
2.2.1