[vlc-devel] [PATCH 1/2] contribs: pthreads: also build the CRT headers

Steve Lhomme robux4 at ycbcr.xyz
Thu Oct 4 14:23:52 CEST 2018


---
 contrib/src/pthreads/rules.mak | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/src/pthreads/rules.mak b/contrib/src/pthreads/rules.mak
index b7d2b57681e..9d762466286 100644
--- a/contrib/src/pthreads/rules.mak
+++ b/contrib/src/pthreads/rules.mak
@@ -18,6 +18,8 @@ pthreads: mingw-w64-v$(WINPTHREADS_VERSION).tar.bz2 .sum-pthreads
 	$(MOVE)
 
 .pthreads: pthreads
+	cd $</mingw-w64-headers && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) -C mingw-w64-headers
 	cd $</mingw-w64-libraries/winpthreads && $(HOSTVARS) ./configure $(HOSTCONF)
 	cd $< && $(MAKE) -C mingw-w64-libraries -C winpthreads install
 	touch $@
-- 
2.19.0



More information about the vlc-devel mailing list