[vlc-commits] contrib: vncclient: build without pthread on windows
Steve Lhomme
git at videolan.org
Wed May 16 15:53:18 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May 16 13:45:49 2018 +0200| [660de93940fa497d86b27f34f46fd34a6fe2a97a] | committer: Steve Lhomme
contrib: vncclient: build without pthread on windows
That's how the buildbot does it
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=660de93940fa497d86b27f34f46fd34a6fe2a97a
---
contrib/src/vncclient/rules.mak | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/contrib/src/vncclient/rules.mak b/contrib/src/vncclient/rules.mak
index ce58a16a4b..da63752e97 100644
--- a/contrib/src/vncclient/rules.mak
+++ b/contrib/src/vncclient/rules.mak
@@ -30,9 +30,14 @@ vncclient: LibVNCServer-$(VNCCLIENT_VERSION).tar.gz .sum-vncclient
DEPS_vncclient = gcrypt $(DEPS_gcrypt) jpeg $(DEPS_jpeg) png $(DEPS_png) gnutls $(DEP_gnutls)
+VNCCLIENT_CONF := $(HOSTCONF) --without-libva
+ifdef HAVE_WIN32
+VNCCLIENT_CONF += --without-pthread
+endif
+
.vncclient: vncclient
$(RECONF)
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-libva
+ cd $< && $(HOSTVARS) ./configure $(VNCCLIENT_CONF)
cd $< && $(MAKE) -C libvncclient install
cd $< && $(MAKE) install-data
rm $(PREFIX)/lib/pkgconfig/libvncserver.pc
More information about the vlc-commits
mailing list