[vlc-devel] [PATCH 3.0 1/2] contrib: pthread: create libpthread.a for pthread-w32
Steve Lhomme
robux4 at ycbcr.xyz
Wed Jun 10 14:37:17 CEST 2020
So we don't use a mix of pthread-w32 and winpthread from the system.
---
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 6e39bfc05be..c3f15fd0a89 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
--
2.26.2
More information about the vlc-devel
mailing list