diff --git a/sbin/build.sh b/sbin/build.sh index dc86c6648..26474885c 100755 --- a/sbin/build.sh +++ b/sbin/build.sh @@ -548,9 +548,7 @@ configureFreetypeLocation() { configureZlibLocation() { if [[ ! "${CONFIGURE_ARGS}" =~ "--with-zlib" ]]; then - if [[ "${BUILD_CONFIG[OPENJDK_FEATURE_NUMBER]}" -ge 21 ]]; then - addConfigureArg "--with-zlib=" "bundled" - fi + addConfigureArg "--with-zlib=" "bundled" fi }