Skip to content

Commit 4b0731e

Browse files
committed
zing aarch64
1 parent e68724e commit 4b0731e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/scripts/java_setup.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ function prepareJdk() {
4444
exit 1
4545
fi
4646
curl -L --fail "${URL}" | sudo tar -xvzf - -C ${target_path} --strip-components 1
47-
# rename the bundled libstdc++.so to avoid conflicts with the system one
48-
sudo mv ${target_path}/etc/libc++/libstdc++.so.6 ${target_path}/etc/libc++/libstdc++.so.6.bak
47+
if [[ "${arch}" != "aarch64" ]]; then
48+
# rename the bundled libstdc++.so to avoid conflicts with the system one
49+
sudo mv ${target_path}/etc/libc++/libstdc++.so.6 ${target_path}/etc/libc++/libstdc++.so.6.bak
50+
fi
4951
return
5052
fi
5153

0 commit comments

Comments
 (0)