1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-18 16:27:08 +00:00

dart: fix error about unknown arch

Still fails due to not supporting python3.

%ci:no-build
This commit is contained in:
Henrik Grimler 2020-07-21 15:37:09 +02:00
parent f6792915d1
commit e112c4ed18

View File

@ -30,13 +30,13 @@ termux_step_get_source() {
termux_step_post_get_source() {
if [ $TERMUX_ARCH = "arm" ]; then
export DEST_CPU="ARM"
export DEST_CPU="arm"
elif [ $TERMUX_ARCH = "i686" ]; then
export DEST_CPU="IA32"
export DEST_CPU="ia32"
elif [ $TERMUX_ARCH = "aarch64" ]; then
export DEST_CPU="ARM64"
export DEST_CPU="arm64"
elif [ $TERMUX_ARCH = "x86_64" ]; then
export DEST_CPU="X64"
export DEST_CPU="x64"
else
termux_error_exit "Unsupported arch '$TERMUX_ARCH'"
fi