[vlc-commits] [Git][videolan/vlc][master] get-rust-target: fix triplet for x86/aarch64 android

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Feb 23 16:30:03 UTC 2025



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
848c2c0d by Alexandre Janniaux at 2025-02-23T15:54:05+00:00
get-rust-target: fix triplet for x86/aarch64 android

aarch64-unknown-linux-android is not the correct triplet for compiling
rust for android, and "-unknown" should be dropped.

The same applies to other targets except armv7, which ends with
androideabi instead of android.

- - - - -


1 changed file:

- contrib/src/get-rust-target.sh


Changes:

=====================================
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
     ;;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/848c2c0d9db5b9001b482cc4cba0fb9709475ca3

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/848c2c0d9db5b9001b482cc4cba0fb9709475ca3
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list