diff --git a/contrib/src/get-rust-target.sh b/contrib/src/get-rust-target.sh
index 8dbb45cde6b9a119ba51a1bdd37ab6be4638ac00..dc6adea56eb75638f6a7e5f6b84dbf2cac1454c5 100755
--- a/contrib/src/get-rust-target.sh
+++ b/contrib/src/get-rust-target.sh
@@ -121,7 +121,7 @@ case $OS in
   android)
     case $ARCH in
       aarch64|i686|x86_64)
-        return_triplet $TRIPLET
+        return_triplet "$ARCH-linux-android"
         ;;
     esac
     ;;