[vlc-commits] contrib: pthread: create libpthread.a for pthread-w32

Steve Lhomme git at videolan.org
Mon Jun 15 13:33:01 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Mar 27 15:56:15 2020 +0100| [97a50d8b06dae62856b40c46754b52883bf45226] | committer: Steve Lhomme

contrib: pthread: create libpthread.a for pthread-w32

So we don't use a mix of pthread-w32 and winpthread from the system.

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=97a50d8b06dae62856b40c46754b52883bf45226
---

 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 6e39bfc05b..c3f15fd0a8 100644
--- a/contrib/src/pthreads/rules.mak
+++ b/contrib/src/pthreads/rules.mak
@@ -37,5 +37,6 @@ endif
 		"$(PREFIX)/include/pthread.h"
 	mkdir -p -- "$(PREFIX)/lib"
 	cp -v $</*.a $</*.dll "$(PREFIX)/lib/"
+	cp -f "$(PREFIX)/lib/libpthreadGC2.a" "$(PREFIX)/lib/libpthread.a"
 	touch $@
 endif



More information about the vlc-commits mailing list