8196951: jdk build fails with clang: error: no such file or directory: '@LIBZ_CFLAGS@'

Reviewed-by: tbell, alanb
This commit is contained in:
Erik Joelsson 2018-02-07 09:48:43 -08:00
parent 683817de43
commit 0a40080ee1

View File

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