[Android] compile-libvlc.sh: medialib needs RTTI

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 28 11:09:40 CET 2017


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 28 11:08:24 2017 +0100| [94340791aa817a0a506c47792569b9961704271f] | committer: Hugo Beauzée-Luyssen

compile-libvlc.sh: medialib needs RTTI

This fixes inconsistent exception catching, and therefor fixes potential
uncaught exception while discovering/parsing, leading to std::terminate
being called

> https://code.videolan.org/videolan/vlc-android/commit/94340791aa817a0a506c47792569b9961704271f
---

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 68ab083..ac1d31b 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -877,7 +877,7 @@ $ANDROID_NDK/ndk-build -C medialibrary \
     APP_BUILD_SCRIPT=jni/Android.mk \
     APP_PLATFORM=android-${ANDROID_API} \
     APP_ABI=${ANDROID_ABI} \
-    LOCAL_CPP_FEATURES="exceptions" \
+    LOCAL_CPP_FEATURES="rtti exceptions" \
     TARGET_TUPLE=$TARGET_TUPLE \
     NDK_PROJECT_PATH=jni \
     NDK_TOOLCHAIN_VERSION=clang \



More information about the Android mailing list