forked from pool/mingw64-winpthreads
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=5
This commit is contained in:
parent
0462d19705
commit
3a8699ecab
@ -58,6 +58,14 @@ mingw-w64's implementation of POSIX threads for Windows.
|
|||||||
%setup -q -n winpthreads
|
%setup -q -n winpthreads
|
||||||
|
|
||||||
%build
|
%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
|
||||||
|
%{_mingw64_cc} -c empty.c
|
||||||
|
%{_mingw64_ar} rsc libpthread.a empty.o
|
||||||
|
popd
|
||||||
%{_mingw64_configure} \
|
%{_mingw64_configure} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared
|
--enable-shared
|
||||||
|
Loading…
Reference in New Issue
Block a user