diff --git a/mingw64-winpthreads.spec b/mingw64-winpthreads.spec index 7f1cbf8..4cfcdf6 100644 --- a/mingw64-winpthreads.spec +++ b/mingw64-winpthreads.spec @@ -31,10 +31,9 @@ License: MIT and BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://mingw-w64.sf.net/ Source: mingw-w64-winpthreads-%{version}.tar.xz -BuildRequires: mingw64-cross-gcc -BuildRequires: mingw64-cross-gcc-c++ +BuildRequires: mingw64-cross-gcc-bootstrap +BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem -BuildRequires: mingw64-pkg-config BuildRequires: xz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -59,12 +58,13 @@ mingw-w64's implementation of POSIX threads for Windows. %setup -q -n winpthreads %build -%{_mingw64_configure} +%{_mingw64_configure} \ + --disable-static \ + --enable-shared make %{?_smp_mflags} %install -b=%{buildroot}; -make install DESTDIR="$b" +make DESTDIR=%{buildroot} install %{?_smp_mflags} %files %defattr(-,root,root)