Skip to content

Commit 2cc5494

Browse files
committed
8378823: AIX build fails after zlib updated by JDK-8378631
Backport-of: 4e15a4a
1 parent 983ff46 commit 2cc5494

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make/autoconf/lib-bundled.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ AC_DEFUN_ONCE([LIB_SETUP_ZLIB],
267267
LIBZ_LIBS=""
268268
if test "x$USE_EXTERNAL_LIBZ" = "xfalse"; then
269269
LIBZ_CFLAGS="$LIBZ_CFLAGS -I$TOPDIR/src/java.base/share/native/libzip/zlib"
270-
if test "x$OPENJDK_TARGET_OS" = xmacosx; then
270+
if test "x$OPENJDK_TARGET_OS" = xmacosx -o "x$OPENJDK_TARGET_OS" = xaix -o "x$OPENJDK_TARGET_OS" = xlinux; then
271271
LIBZ_CFLAGS="$LIBZ_CFLAGS -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1"
272272
fi
273273
else

0 commit comments

Comments
 (0)