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

Thomas Guillem git at videolan.org
Thu Oct 23 11:06:08 CEST 2014


vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Thu Oct 23 11:03:28 2014 +0200| [c216086bbb6f6afabc043da827598e0c368a1e84] | committer: Thomas Guillem

build: fix libgnustl link with arm64-v8a ABI

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

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

diff --git a/compile.sh b/compile.sh
index 5b387ca..515c0b4 100755
--- a/compile.sh
+++ b/compile.sh
@@ -244,7 +244,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 //
 if [ -z "$MAKEFLAGS" ]; then



More information about the Android mailing list