[Android] enable libarchive

Thomas Guillem git at videolan.org
Fri May 22 17:37:53 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 22 15:11:23 2015 +0200| [a02cd4ff3b0ff65c4570d8cbafc25577ccb06f51] | committer: Thomas Guillem

enable libarchive

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a02cd4ff3b0ff65c4570d8cbafc25577ccb06f51
---

 compile-libvlc.sh     |    1 +
 libvlc/jni/Android.mk |    1 +
 2 files changed, 2 insertions(+)

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index f2b3691..7367318 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -93,6 +93,7 @@ VLC_BOOTSTRAP_ARGS="\
     --disable-aribb25 \
     --disable-mpg123 \
     --enable-libdsm \
+    --enable-libarchive \
 "
 
 ###########################
diff --git a/libvlc/jni/Android.mk b/libvlc/jni/Android.mk
index 1782a3a..a4a86bb 100644
--- a/libvlc/jni/Android.mk
+++ b/libvlc/jni/Android.mk
@@ -85,6 +85,7 @@ LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
 	-lssh2 \
 	-lmodplug \
 	-lupnp -lthreadutil -lixml \
+	-larchive \
 	$(EXTRA_LDFLAGS)
 
 $(TARGET_OUT)/$(LOCAL_MODULE).so: $(ANDROID_PRIVATE_LIBS)



More information about the Android mailing list