Skip to content

Commit 6eb74f8

Browse files
MBaeskenRealCLanger
authored andcommitted
8378823: AIX build fails after zlib updated by JDK-8378631
Reviewed-by: mdoerr, jpai, stuefe
1 parent 89c6789 commit 6eb74f8

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)