File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,14 @@ getOpenJDKUpdateAndBuildVersion() {
168168 cd " ${BUILD_CONFIG[WORKSPACE_DIR]} "
169169}
170170
171+ addFixpathPatch () {
172+ # Fixpath patch required for JDK11u Windows aarch64 builds
173+ if [ " ${BUILD_CONFIG[OPENJDK_CORE_VERSION]} " = " ${JDK11_CORE_VERSION} " ] && [ " ${ARCHITECTURE} " = " aarch64" ]; then
174+ wget https://github.com/microsoft/openjdk-aarch64/releases/download/fp-1.0/fixpath.exe --output-document " ${BUILD_CONFIG[WORKSPACE_DIR]} /${BUILD_CONFIG[WORKING_DIR]} /${BUILD_CONFIG[OPENJDK_SOURCE_DIR]} /fixpath.exe"
175+ fi
176+ }
177+
178+
171179patchFreetypeWindows () {
172180 # Allow freetype 2.8.1 to be built for JDK8u with Visual Studio 2017 (see https://github.com/openjdk/jdk8u-dev/pull/3#issuecomment-1087677766).
173181 # Don't apply the patch for OpenJ9 (OpenJ9 doesn't need the patch and, technically, it should only be applied for version 2.8.1).
@@ -1794,6 +1802,7 @@ configureWorkspace
17941802echo " build.sh : $( date +%T) : Initiating build ..."
17951803getOpenJDKUpdateAndBuildVersion
17961804if [[ " $OSTYPE " == " cygwin" ]] || [[ " $OSTYPE " == " msys" ]]; then
1805+ addFixpathPatch
17971806 patchFreetypeWindows
17981807fi
17991808configureCommandParameters
You can’t perform that action at this time.
0 commit comments