guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: sdl-image: Don't use dlopen for shared object loading.


From: ???
Subject: 01/02: gnu: sdl-image: Don't use dlopen for shared object loading.
Date: Thu, 12 Feb 2015 06:31:33 +0000

iyzsong pushed a commit to branch master
in repository guix.

commit 7c3e60fbe6d99b3361553d3c943f38037607b3f3
Author: 宋文武 <address@hidden>
Date:   Thu Feb 12 14:16:44 2015 +0800

    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 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index ee18c1b..764e985 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
     ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]