summaryrefslogtreecommitdiff
path: root/gnu/packages/sdl.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-03-21 15:08:39 +0800
committer宋文武 <iyzsong@gmail.com>2015-03-23 22:06:57 +0800
commit07780c714e590a96577670c0dc3dfb1a23ad4ab5 (patch)
treed35259917e3f3325ec588944ad071fea7c2ddb0b /gnu/packages/sdl.scm
parent83bb3a3ee4292d75cc6cfe08947ffb12989eccba (diff)
downloadgnu-guix-07780c714e590a96577670c0dc3dfb1a23ad4ab5.tar
gnu-guix-07780c714e590a96577670c0dc3dfb1a23ad4ab5.tar.gz
gnu: sdl: Explicitly use mesa as OpenGL driver.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add 'LDFLAGS=-lGL'.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r--gnu/packages/sdl.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index fd555f9068..9a3b3898d8 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -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