From 7c3e60fbe6d99b3361553d3c943f38037607b3f3 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Thu, 12 Feb 2015 14:16:44 +0800 Subject: gnu: sdl-image: Don't use dlopen for shared object loading. * gnu/packages/sdl.scm (sdl-image)[arguments]: New field. --- gnu/packages/sdl.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index ee18c1b5d0..764e9854f3 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -158,6 +158,12 @@ other supporting functions for SDL.") (base32 "16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b")))) (build-system gnu-build-system) + (arguments + ;; Explicitly link against shared libraries instead of dlopening them. + '(#:configure-flags '("--disable-jpg-shared" + "--disable-png-shared" + "--disable-tif-shared" + "--disable-webp-shared"))) (native-inputs `(("pkg-config" ,pkg-config))) ;; FIXME: Add webp ;; -- cgit v1.2.3