From 03920078d5073a9b0674b01f3e4d1f5b082a5195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 10 Nov 2014 23:12:01 +0100 Subject: [PATCH] gnu: libmikmod: Avoid dlopening libasound & co. * gnu/packages/sdl.scm (libmikmod)[arguments]: New field. --- gnu/packages/sdl.scm | 5 +++++ 1 file changed, 5 insertions(+) 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")