[vlc-commits] android: Add the C++ STL library path to LDFLAGS

Martin Storsjö git at videolan.org
Sat Sep 24 00:46:26 CEST 2011


vlc | branch: master | Martin Storsjö <martin at martin.st> | Sat Sep 24 00:48:31 2011 +0300| [17c3d30124122ca285ce739976cbc49c7b3e6e1c] | committer: Rafaël Carré

android: Add the C++ STL library path to LDFLAGS

This is required if one wants to link shared modules.

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=17c3d30124122ca285ce739976cbc49c7b3e6e1c
---

 extras/package/android/configure.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extras/package/android/configure.sh b/extras/package/android/configure.sh
index 5b40d7f..f1620b7 100755
--- a/extras/package/android/configure.sh
+++ b/extras/package/android/configure.sh
@@ -27,6 +27,7 @@ else
 fi
 
 CPPFLAGS="-I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/include -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}/include"
+LDFLAGS="$LDFLAGS -L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/libs/${CXX_TARGET}/lib"
 
 SYSROOT=$ANDROID_NDK/platforms/$ANDROID_API/arch-arm
 ANDROID_BIN=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin/



More information about the vlc-commits mailing list