[vlc-commits] contrib: pthreads: do not build the DLL version pthreadGC2

Steve Lhomme git at videolan.org
Tue Jun 16 08:11:56 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 16 07:40:21 2020 +0200| [904a21f34104ff98e2dc3ecb0bd1d93422f7833d] | committer: Steve Lhomme

contrib: pthreads: do not build the DLL version pthreadGC2

We don't need it and in UWP it uses OpenProcess which is not available in older
mingw toolchains (as in registry.videolan.org/vlc-debian-llvm-mingw:20181128171234)

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

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

diff --git a/contrib/src/pthreads/rules.mak b/contrib/src/pthreads/rules.mak
index 872c975849..a87a924049 100644
--- a/contrib/src/pthreads/rules.mak
+++ b/contrib/src/pthreads/rules.mak
@@ -33,13 +33,13 @@ PTHREADS_W32_CONF += CROSS="$(HOST)-"
 endif
 
 .pthreads: pthreads
-	cd $< && $(HOSTVARS) $(PTHREADS_W32_CONF) $(MAKE) MAKEFLAGS=-j1 GC GC-static
+	cd $< && $(HOSTVARS) $(PTHREADS_W32_CONF) $(MAKE) MAKEFLAGS=-j1 GC-static
 	mkdir -p -- "$(PREFIX)/include"
 	cd $< && cp -v pthread.h sched.h semaphore.h "$(PREFIX)/include/"
 	sed -e 's/#if HAVE_CONFIG_H/#if 0 \&\& HAVE_CONFIG_H/' -i \
 		"$(PREFIX)/include/pthread.h"
 	mkdir -p -- "$(PREFIX)/lib"
-	cp -v $</*.a $</*.dll "$(PREFIX)/lib/"
+	cp -v $</*.a "$(PREFIX)/lib/"
 	cp -f "$(PREFIX)/lib/libpthreadGC2.a" "$(PREFIX)/lib/libpthread.a"
 	touch $@
 endif



More information about the vlc-commits mailing list