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

View file

@ -158,6 +158,12 @@ (define sdl-image
(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
;;