[Android] compile-libvlc: Link with -latomic

Hugo Beauzée-Luyssen git at videolan.org
Mon Oct 30 14:34:47 CET 2017


vlc-android | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Oct 30 14:10:35 2017 +0100| [fccceae6b66c6e9b4c6cc5ad23a1fb3669314838] | committer: Hugo Beauzée-Luyssen

compile-libvlc: Link with -latomic

Fix armv7 builds

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

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 0e1d31441..7cbd6749e 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -867,7 +867,7 @@ $ANDROID_NDK/ndk-build$OSCMD -C libvlc \
     VLC_CONTRIB="$VLC_CONTRIB" \
     VLC_CONTRIB_LDFLAGS="$VLC_CONTRIB_LDFLAGS" \
     VLC_MODULES="$VLC_MODULES" \
-    VLC_LDFLAGS="$VLC_LDFLAGS" \
+    VLC_LDFLAGS="$VLC_LDFLAGS -latomic" \
     MEDIALIBRARY_LDLIBS="${MEDIALIBRARY_LDLIBS}" \
     MEDIALIBRARY_INCLUDE_DIR=${MEDIALIBRARY_BUILD_DIR}/include \
     APP_BUILD_SCRIPT=jni/Android.mk \



More information about the Android mailing list