Fix install script for Linux aarch64

This commit is contained in:
Denis Isidoro 2020-03-22 17:07:32 -03:00 committed by GitHub
parent b2f6ba54ca
commit c48213b948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,8 +217,8 @@ get_target() {
local target
case "$archi" in
Darwin*) target="x86_64-osx" ;;
Linux\ *x86*) $is_android && target="aarch64-linux-android" || target="x86_64-unknown-linux-musl" ;;
*arm*) $is_android && target="armv7-linux-androideabi" || target="armv7-unknown-linux-musleabihf" ;;
*x86*) $is_android && target="aarch64-linux-android" || target="x86_64-unknown-linux-musl" ;;
*arm*|*aarch*) $is_android && target="armv7-linux-androideabi" || target="armv7-unknown-linux-musleabihf" ;;
*) target="" ;;
esac