From f149adaeb7f6ea23aa09a8777a966420815bada1 Mon Sep 17 00:00:00 2001 From: Fabian Greffrath Date: Mon, 24 Mar 2014 13:43:24 +0100 Subject: Fix libpng detection for static libraries --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 04ad2865..4d63d1e0 100644 --- a/configure.ac +++ b/configure.ac @@ -86,7 +86,7 @@ AC_SDL_MAIN_WORKAROUND([ [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) -- cgit v1.2.3