summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Greffrath2014-03-24 13:43:24 +0100
committerFabian Greffrath2014-03-24 13:43:24 +0100
commitf149adaeb7f6ea23aa09a8777a966420815bada1 (patch)
tree461d68217f85263f89eec94a6341984973aaa84d
parent19466db77813385693cf78b8bc7d97b58dd2b14c (diff)
downloadchocolate-doom-f149adaeb7f6ea23aa09a8777a966420815bada1.tar.gz
chocolate-doom-f149adaeb7f6ea23aa09a8777a966420815bada1.tar.bz2
chocolate-doom-f149adaeb7f6ea23aa09a8777a966420815bada1.zip
Fix libpng detection for static libraries
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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)