changeset 48922:ba19a21d727d

8196951: jdk build fails with clang: error: no such file or directory: '@LIBZ_CFLAGS@' Reviewed-by: tbell, alanb
author erikj
date Wed, 07 Feb 2018 09:48:43 -0800
parents 8cc67294ec56
children ffa68af7da87
files make/autoconf/lib-bundled.m4
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/lib-bundled.m4	Wed Feb 07 09:06:43 2018 -0500
+++ b/make/autoconf/lib-bundled.m4	Wed Feb 07 09:48:43 2018 -0800
@@ -209,6 +209,8 @@
     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