libpng adjustment
Keep error if no "libpng" is found.
This commit is contained in:
parent
332c863e78
commit
f97a7cf177
|
@ -12,10 +12,9 @@
|
|||
;; variants often have just "libpng", etc.
|
||||
(let loop ([alts '(("libpng16" ("16" ""))
|
||||
("libpng15" ("15" ""))
|
||||
("libpng12" ("0" ""))
|
||||
("libpng"))])
|
||||
("libpng12" ("0" "")))])
|
||||
(cond
|
||||
[(null? alts) #f]
|
||||
[(null? alts) (ffi-lib "libpng")]
|
||||
[else (apply ffi-lib (car alts)
|
||||
#:fail (lambda ()
|
||||
(loop (cdr alts))))]))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user