<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 2, 2014 at 12:53 PM, Thomas Guillem <span dir="ltr"><<a href="mailto:git@videolan.org" target="_blank">git@videolan.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">vlc-ports/android | branch: tv | Thomas Guillem <<a href="mailto:thomas.guillem@gmail.com">thomas.guillem@gmail.com</a>> | Wed Oct  1 18:42:06 2014 +0200| [f8f5d43765bbfae0e2a9413bb2ca3062b00a8fb0] | committer: Geoffrey Métais<br>
<br>
Build: add gnu-libstdc++ in EXTRA_LDFLAGS<br>
<br>
fix protobuf build.<br>
<br>
Signed-off-by: Jean-Baptiste Kempf <<a href="mailto:jb@videolan.org">jb@videolan.org</a>><br>
<br>
> <a href="http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f8f5d43765bbfae0e2a9413bb2ca3062b00a8fb0" target="_blank">http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f8f5d43765bbfae0e2a9413bb2ca3062b00a8fb0</a><br>
---<br>
<br>
 compile.sh |    5 +++++<br>
 1 file changed, 5 insertions(+)<br>
<br>
diff --git a/compile.sh b/compile.sh<br>
index de5c7e6..e30210d 100755<br>
--- a/compile.sh<br>
+++ b/compile.sh<br>
@@ -165,6 +165,9 @@ EXTRA_CFLAGS="${EXTRA_CFLAGS} -O2"<br>
 EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/include"<br>
 EXTRA_CFLAGS="${EXTRA_CFLAGS} -I${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/include"<br>
<br>
+# Setup LDFLAGS<br>
+EXTRA_LDFLAGS="-l${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++${CXXSTL}/libs/${ANDROID_ABI}/libgnustl_static.a"<br>
+<br>
 # Make in //<br>
 UNAMES=$(uname -s)<br>
 MAKEFLAGS=<br>
@@ -248,7 +251,9 @@ else<br>
 fi<br>
<br>
 echo "EXTRA_CFLAGS= -g ${EXTRA_CFLAGS}" >> config.mak<br>
+echo "EXTRA_LDFLAGS= ${EXTRA_LDFLAGS}" >> config.mak<br>
 export VLC_EXTRA_CFLAGS="${EXTRA_CFLAGS}"<br>
+export VLC_EXTRA_LDFLAGS="${EXTRA_LDFLAGS}"<br></blockquote><div><br></div><div>Where is VLC_EXTRA_LDFLAGS used? <br></div></div></div></div>