diff --git a/configure.ac b/configure.ac index b774fc448..db0356adb 100644 --- a/configure.ac +++ b/configure.ac @@ -298,7 +298,7 @@ if test "$build_zlib" != "false" ; then AC_MSG_NOTICE([zlib library and headers not found]) else AC_DEFINE( HAVE_ZLIB, 1, [ZLIB support] ) - ZLIBS_LIBS='-z' + ZLIB_LIBS='-lz' AC_SUBST(ZLIB_LIBS) fi else