aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-01-25 22:16:52 +0100
committerLudovic Courtès <ludo@gnu.org>2014-01-25 23:07:35 +0100
commit22f33e6112c2e58cf2f544296d6173b9b7ad49cb (patch)
tree58361e9d85c54a7028b76f16e9e11683644ac395 /gnu
parent1ca03c048bdb3365e35144c60df9aac77e3a446c (diff)
downloadguix-22f33e6112c2e58cf2f544296d6173b9b7ad49cb.tar
guix-22f33e6112c2e58cf2f544296d6173b9b7ad49cb.tar.gz
gnu: sdl: Explicitly link against libXext.
* gnu/packages/sdl.scm (sdl): Add #:configure-flags to 'arguments'. Move PKG-CONFIG to 'native-inputs'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sdl.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 25ae1b0721..d86ecde38e 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -55,14 +55,21 @@
(base32
"005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn"))))
(build-system gnu-build-system)
- (arguments '(#:tests? #f)) ; no check target
+ (arguments
+ '(;; Explicitly link against Xext because SDL tries to dlopen it and
+ ;; doesn't go very far otherwise (see
+ ;; <https://lists.gnu.org/archive/html/guix-devel/2013-11/msg00088.html>
+ ;; for details.)
+ #:configure-flags '("LDFLAGS=-lXext")
+
+ #:tests? #f)) ; no check target
(propagated-inputs
;; SDL headers include X11 headers.
`(("libx11" ,libx11)))
+ (native-inputs `(("pkg-config" ,pkg-config)))
(inputs `(("libxrandr" ,libxrandr)
("mesa" ,mesa)
("alsa-lib" ,alsa-lib)
- ("pkg-config" ,pkg-config)
("pulseaudio" ,pulseaudio)))
(synopsis "Cross platform game development library")
(description "Simple DirectMedia Layer is a cross-platform development