mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 02:58:02 +02:00
[configure] Append -lz to LIBS
After going to the effort of detecting zlib for cairo-deflate-stream.c, it rather defects the purpose of the exercise (and the mingw32 build) if we forget to add the library to LIBS.
This commit is contained in:
parent
87094e8c78
commit
9c207b2454
1 changed files with 3 additions and 1 deletions
|
|
@ -27,7 +27,9 @@ AC_CACHE_SAVE
|
|||
dnl ===========================================================================
|
||||
|
||||
AC_CHECK_LIB(z, compress,
|
||||
[AC_CHECK_HEADER(zlib.h, [have_libz=yes],
|
||||
[AC_CHECK_HEADER(zlib.h, [
|
||||
have_libz=yes
|
||||
LIBS="$LIBS -lz"],
|
||||
[have_libz="no (requires zlib http://www.gzip.org/zlib/)"])],
|
||||
[have_libz="no (requires zlib http://www.gzip.org/zlib/)"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue