[Android] build: fix libgnustl link with arm64-v8a ABI

Thomas Guillem git at videolan.org
Mon Dec 8 18:48:29 CET 2014


vlc-ports/android | branch: 1.0.x | Thomas Guillem <tom at gllm.fr> | Thu Oct 23 11:03:28 2014 +0200| [4b463467a6caf67d98c2010e31f2fbd785b0b7ee] | committer: Jean-Baptiste Kempf

build: fix libgnustl link with arm64-v8a ABI

(cherry picked from commit c216086bbb6f6afabc043da827598e0c368a1e84)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/compile.sh b/compile.sh
index a91a9e1..db4e7fa 100755
--- a/compile.sh
+++ b/compile.sh
@@ -166,7 +166,7 @@ EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CX
 EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/include"
 
 # Setup LDFLAGS
-EXTRA_LDFLAGS="-l${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/libgnustl_static.a"
+EXTRA_LDFLAGS="-L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI} -lgnustl_static"
 
 # Make in //
 UNAMES=$(uname -s)



More information about the Android mailing list