summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-10 23:12:01 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-10 23:12:01 +0100
commit03920078d5073a9b0674b01f3e4d1f5b082a5195 (patch)
tree423a16acbd92547457d8d6ea09cd6b1b4072e740 /gnu
parentb756d3da4c4734ab507cec312a872fe1a3975598 (diff)
downloadguix-03920078d5073a9b0674b01f3e4d1f5b082a5195.tar.gz
gnu: libmikmod: Avoid dlopening libasound & co.
* gnu/packages/sdl.scm (libmikmod)[arguments]: New field.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/sdl.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index a2bfc11648..069ea6b5f4 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -104,6 +104,11 @@ joystick, and graphics hardware.")
               (base32
                "0dr4kgvhq9wf2riibh178c2al996spwwak6zffpv5n5bqmw29w3r"))))
     (build-system gnu-build-system)
+    (arguments
+     ;; By default, libmikmod tries to dlopen libasound etc., which won't work
+     ;; unless the right libalsa happens to be in $LD_LIBRARY_PATH.  Pass
+     ;; '--disable-dl' to avoid that.
+     '(#:configure-flags '("--disable-dl")))
     (inputs `(("alsa-lib" ,alsa-lib)
               ("libx11" ,libx11)))
     (synopsis "Library for module sound formats")