]> git.sesse.net Git - vlc/commitdiff
Contribs: build shout without threads on Windows
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 14 Mar 2013 16:15:39 +0000 (17:15 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 14 Mar 2013 16:15:39 +0000 (17:15 +0100)
contrib/src/shout/rules.mak

index 86a3be3edb5ef6c4bff71dc52aa910ffae5b8cac..dcffaa7a7534081a2d64de3025078dd3423aedad 100644 (file)
@@ -26,7 +26,13 @@ libshout: libshout-$(SHOUT_VERSION).tar.gz .sum-shout
 DEPS_shout = ogg $(DEPS_ogg) theora $(DEPS_theora) speex $(DEPS_speex)
 DEPS_shout += vorbis $(DEPS_vorbis)
 
+SHOUT_CONF :=
+
+ifdef HAVE_WIN32
+SHOUT_CONF += "--disable-thread"
+endif
+
 .shout: libshout
-       cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+       cd $< && $(HOSTVARS) ./configure $(SHOUT_CONF) $(HOSTCONF)
        cd $< && $(MAKE) install
        touch $@