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

* gnu/packages/sdl.scm (sdl-image)[arguments]: New field.
This commit is contained in:
宋文武 2015-02-12 14:16:44 +08:00
parent 88efb2c327
commit 7c3e60fbe6
1 changed files with 6 additions and 0 deletions

View File

@ -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
;;