[Android] enable upnp

Thomas Guillem git at videolan.org
Wed Mar 11 16:44:55 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Mar 11 16:03:26 2015 +0100| [006238eb91c6bd17ad81c7324bd0035f78fe3f03] | committer: Thomas Guillem

enable upnp

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

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

diff --git a/compile-libvlc.sh b/compile-libvlc.sh
index 3b74321..456dd3c 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -75,7 +75,7 @@ VLC_BOOTSTRAP_ARGS="\
     --disable-caca \
     --disable-gettext \
     --disable-mpcdec \
-    --disable-upnp \
+    --enable-upnp \
     --disable-gme \
     --disable-tremor \
     --enable-vorbis \
diff --git a/libvlc/jni/Android.mk b/libvlc/jni/Android.mk
index 88741a8..49b37dc 100644
--- a/libvlc/jni/Android.mk
+++ b/libvlc/jni/Android.mk
@@ -84,6 +84,7 @@ LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
 	-lzvbi \
 	-lssh2 \
 	-lmodplug \
+	-lupnp -lthreadutil -lixml \
 	$(EXTRA_LDFLAGS)
 
 $(TARGET_OUT)/$(LOCAL_MODULE).so: $(ANDROID_PRIVATE_LIBS)



More information about the Android mailing list