8196911: Windows build fails with not finding zlib.h

Reviewed-by: tbell
This commit is contained in:
Erik Joelsson 2018-02-06 22:47:50 +01:00
parent 7a6b695959
commit 6d85cafef2

View File

@ -209,7 +209,7 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
AC_MSG_ERROR([Invalid value for --with-zlib: ${with_zlib}, use 'system' or 'bundled'])
fi
if test "x$USER_EXTERNAL_LIBZ" = "xfalse"; then
if test "x$USE_EXTERNAL_LIBZ" = "xfalse"; then
LIBZ_CFLAGS="$LIBZ_CFLAGS -I$TOPDIR/src/java.base/share/native/libzip/zlib"
else
LIBZ_LIBS="-lz"