[Android] build: fix hardcoded android ABI

Thomas Guillem git at videolan.org
Fri Oct 10 09:44:05 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Thu Oct  9 18:46:08 2014 +0200| [57987c623f80bd47461f7780f5be91c1f53dd61c] | committer: Jean-Baptiste Kempf

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=57987c623f80bd47461f7780f5be91c1f53dd61c
---

 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