[Android] Enable microdns for mdns discoveries

Jean-Baptiste Kempf git at videolan.org
Mon Feb 8 23:22:51 CET 2016


vlc-android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Feb  8 23:22:30 2016 +0100| [d91c4df4bec69430d79356747dcecc41c1181ff6] | committer: Jean-Baptiste Kempf

Enable microdns for mdns discoveries

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

 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 560df25..0246c1a 100755
--- a/compile-libvlc.sh
+++ b/compile-libvlc.sh
@@ -97,6 +97,7 @@ VLC_BOOTSTRAP_ARGS="\
     --disable-libmpeg2 \
     --enable-soxr \
     --enable-nfs \
+    --enable-microdns \
 "
 
 ###########################
diff --git a/libvlc/jni/Android.mk b/libvlc/jni/Android.mk
index 7abb761..d1714a8 100644
--- a/libvlc/jni/Android.mk
+++ b/libvlc/jni/Android.mk
@@ -52,6 +52,7 @@ LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
 	-larchive \
 	-lmpg123 \
 	-llua \
+	-lmicrodns \
 	$(EXTRA_LDFLAGS)
 
 LOCAL_SHARED_LIBRARIES:= libcompat.7



More information about the Android mailing list