[Android] Revert "compile-libvlc.sh: Remove explicit linking to c++abi & libunwind"
Hugo Beauzée-Luyssen
git at videolan.org
Thu May 4 11:36:11 CEST 2017
vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu May 4 11:24:41 2017 +0200| [297f08e9d43ec75a83baf8bdf7ff0c5718225973] | committer: Hugo Beauzée-Luyssen
Revert "compile-libvlc.sh: Remove explicit linking to c++abi & libunwind"
This reverts commit 26c7dab9183682307252806f336d6c7895c1b3cb.
It appears to break the build on some platforms & causes runtime issues
on some devices
> https://code.videolan.org/videolan/vlc-android/commit/297f08e9d43ec75a83baf8bdf7ff0c5718225973
---
compile-libvlc.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 907f9b4..2b6a1a4 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -410,6 +410,7 @@ if [ "${ANDROID_ABI}" = "armeabi-v7a" ];then
NDK_LIB_UNWIND="-lunwind"
fi
+EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -L${NDK_LIB_DIR} -lc++abi ${NDK_LIB_UNWIND}"
VLC_LDFLAGS="${EXTRA_LDFLAGS}"
# Release or not?
More information about the Android
mailing list