ref: f149adaeb7f6ea23aa09a8777a966420815bada1
parent: 19466db77813385693cf78b8bc7d97b58dd2b14c
author: Fabian Greffrath <[email protected]>
date: Mon Mar 24 09:43:24 EDT 2014
Fix libpng detection for static libraries
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,7 @@
[Build without libpng @<:@default=check@:>@]),
[],
[
- AC_CHECK_LIB(png, png_get_io_ptr)
+ AC_CHECK_LIB(png, png_get_io_ptr, [], [], -lz)
])
AC_CHECK_LIB(m, log)