[Android] Fix failure detection in libvlc build script
Marvin Scholz
git at videolan.org
Fri Oct 18 15:48:19 CEST 2019
vlc-android | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Oct 18 15:00:33 2019 +0200| [afb49f02ae06e88197112ea32201e404a7ce09c5] | committer: Marvin Scholz
Fix failure detection in libvlc build script
The avlc_checkfail checked the success of the removal, not the build,
which is wrong.
> https://code.videolan.org/videolan/vlc-android/commit/afb49f02ae06e88197112ea32201e404a7ce09c5
---
compile-libvlc.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 3bc3c43d4..33d7bfb4d 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -698,11 +698,11 @@ $NDK_BUILD -C $VLC_OUT_PATH/.. \
NDK_PROJECT_PATH=ndk \
NDK_TOOLCHAIN_VERSION=clang \
NDK_DEBUG=${NDK_DEBUG}
+avlc_checkfail "ndk-build libvlc failed"
# Remove gdbserver to avoid conflict with libvlcjni.so debug options
rm -f $VLC_OUT_PATH/libs/${ANDROID_ABI}/gdb*
-avlc_checkfail "ndk-build libvlc failed"
} # avlc_build()
if [ "$AVLC_SOURCED" != "1" ]; then
More information about the Android
mailing list