[vlc-devel] [3.0 PATCH v2 14/20] contrib: pthread: create libpthread.a for pthread-w32
Steve Lhomme
robux4 at ycbcr.xyz
Thu Apr 2 13:38:12 CEST 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 238d9bb25e5..eb66848b3d9 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/"
+ cp -f "$(PREFIX)/lib/libpthreadGC2.a" "$(PREFIX)/lib/libpthread.a"
touch $@
endif
--
2.17.1
More information about the vlc-devel
mailing list