aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/sdl.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-02-12 14:21:40 +0800
committer宋文武 <iyzsong@gmail.com>2015-02-12 14:21:40 +0800
commit3ff733901a474e0173f9498cfb293115c24b9bf6 (patch)
treed6842bd692bb14035cb9c861bd9db254fbfef133 /gnu/packages/sdl.scm
parent7c3e60fbe6d99b3361553d3c943f38037607b3f3 (diff)
downloadgnu-guix-3ff733901a474e0173f9498cfb293115c24b9bf6.tar
gnu-guix-3ff733901a474e0173f9498cfb293115c24b9bf6.tar.gz
gnu: sdl-mixer: Don't use dlopen for shared object loading.
* gnu/packages/sdl.scm (sdl-mixer)[arguments]<#:configure-flags>: Add --disable-music-mod-shared --disable-music-fluidsynth-shared --disable-music-ogg-shared --disable-music-flac-shared --disable-music-mp3-shared.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r--gnu/packages/sdl.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 764e9854f3..c9b82f4b62 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -197,8 +197,14 @@ WEBP, XCF, XPM, and XV.")
(build-system gnu-build-system)
;; no check target
;; use libmad instead of smpeg
+ ;; explicitly link against shared libraries instead of dlopening them
(arguments `(#:tests? #f
- #:configure-flags '("--enable-music-mp3-mad-gpl")))
+ #:configure-flags '("--enable-music-mp3-mad-gpl"
+ "--disable-music-mod-shared"
+ "--disable-music-fluidsynth-shared"
+ "--disable-music-ogg-shared"
+ "--disable-music-flac-shared"
+ "--disable-music-mp3-shared")))
(inputs `(("libvorbis" ,libvorbis)
("libflac" ,flac)
("libmad" ,libmad)