Skip to content

Commit

Permalink
Don't bundle zlib for OpenJ9 builds (#3483)
Browse files Browse the repository at this point in the history
Related #3459 eclipse-openj9/openj9#18127

Signed-off-by: Adam Brousseau <adam.brousseau88@gmail.com>
  • Loading branch information
AdamBrousseau authored Sep 27, 2023
1 parent 5b7acc5 commit 5f79368
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,10 @@ configureFreetypeLocation() {
}

configureZlibLocation() {
if [[ ! "${CONFIGURE_ARGS}" =~ "--with-zlib" ]]; then
addConfigureArg "--with-zlib=" "bundled"
if [[ "${BUILD_CONFIG[BUILD_VARIANT]}" != "${BUILD_VARIANT_OPENJ9}" ]]; then
if [[ ! "${CONFIGURE_ARGS}" =~ "--with-zlib" ]]; then
addConfigureArg "--with-zlib=" "bundled"
fi
fi
}

Expand Down

0 comments on commit 5f79368

Please sign in to comment.