Mingw: Link directly with libz

stable-5.2
Günther Brammer 2009-05-12 18:38:33 +02:00
parent 2947f90dab
commit 12b90ef48d
1 changed files with 7 additions and 0 deletions

View File

@ -161,6 +161,13 @@ AC_CHECK_LIB(png, png_read_image, [
AC_MSG_ERROR([libpng not found.])
], [-lz])
# Check for libz
AC_CHECK_LIB(z, deflate, [
CLONK_LIBS="-lz $CLONK_LIBS"
], [
AC_MSG_ERROR([libz not found.])
])
# Check for libfreetype
if test $enable_console = no; then
if test "$cross_compiling" = no; then