[Android] build: fix hardcoded android ABI

Thomas Guillem git at videolan.org
Thu Oct 16 12:13:32 CEST 2014


vlc-ports/android | branch: tv | Thomas Guillem <tom at gllm.fr> | Thu Oct  9 18:46:08 2014 +0200| [892d0e2b036bd724cd005002edc09a724a1a155a] | committer: Geoffrey Métais

build: fix hardcoded android ABI

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=892d0e2b036bd724cd005002edc09a724a1a155a
---

 compile.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index eba84cb..90dc329 100755
--- a/compile.sh
+++ b/compile.sh
@@ -294,7 +294,7 @@ cd ../.. && mkdir -p build-android-${TARGET_TUPLE} && cd build-android-${TARGET_
 
 if [ $# -eq 1 ] && [ "$1" = "jni" ]; then
     CLEAN="jniclean"
-    TARGET="vlc-android/obj/local/armeabi-v7a/libvlcjni.so"
+    TARGET="vlc-android/obj/local/${ANDROID_ABI}/libvlcjni.so"
 else
     CLEAN="distclean"
     if [ ! -f config.h ]; then



More information about the Android mailing list