[vlc-devel] [PATCH 3.0] contrib: pthread: create libpthread.a for pthread-w32

Steve Lhomme robux4 at ycbcr.xyz
Fri Mar 27 17:00:43 CET 2020


So we don't use a mix of winpthread and pthread-w32.
---
 contrib/src/pthreads/rules.mak | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/src/pthreads/rules.mak b/contrib/src/pthreads/rules.mak
index 238d9bb25e..5718cdfa09 100644
--- a/contrib/src/pthreads/rules.mak
+++ b/contrib/src/pthreads/rules.mak
@@ -38,5 +38,6 @@ endif
 		"$(PREFIX)/include/pthread.h"
 	mkdir -p -- "$(PREFIX)/lib"
 	cp -v $</*.a $</*.dll "$(PREFIX)/lib/"
+	ln -sf "$(PREFIX)/lib/libpthreadGC2.a" "$(PREFIX)/lib/libpthread.a"
 	touch $@
 endif
-- 
2.17.1



More information about the vlc-devel mailing list