2
0
Fridrich Strba 2014-06-16 13:55:18 +00:00 committed by Git OBS Bridge
parent e2a47ba734
commit 256e9b3d77

View File

@ -58,6 +58,14 @@ mingw-w64's implementation of POSIX threads for Windows.
%setup -q -n winpthreads
%build
# There build is trying to link with libpthread.a but it has no need
# of any symbol from there, so just create a fake library and use it.
mkdir fakelib
pushd fakelib
touch empty.c
%{_mingw32_cc} -c empty.c
%{_mingw32_ar} rsc libpthread.a empty.o
popd
%{_mingw32_configure} \
--disable-static \
--enable-shared