--- a/modules/demux/Makefile.am
+++ b/modules/demux/Makefile.am
@@ -479,8 +479,10 @@
 libvlc_adaptive_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
 libvlc_adaptive_la_LDFLAGS = -static
 if !HAVE_WIN32
+if !HAVE_ANDROID
 libvlc_adaptive_la_LDFLAGS += -lpthread
 endif
+endif
 libvlc_adaptive_la_LIBADD += libvlc_http.la
 if HAVE_ZLIB
 libvlc_adaptive_la_LIBADD += -lz
