summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-02-12 14:16:44 +0800
committer宋文武 <iyzsong@gmail.com>2015-02-12 14:16:44 +0800
commit7c3e60fbe6d99b3361553d3c943f38037607b3f3 (patch)
treea7014ee96ea57cf01a3b607e75dfbd5547f42e81
parent88efb2c327e1f155aa0182c46d5b8ae4f9ddef0e (diff)
downloadguix-7c3e60fbe6d99b3361553d3c943f38037607b3f3.tar.gz
gnu: sdl-image: Don't use dlopen for shared object loading.
* gnu/packages/sdl.scm (sdl-image)[arguments]: New field.
-rw-r--r--gnu/packages/sdl.scm6
1 files changed, 6 insertions, 0 deletions
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
     ;;