forked from pool/mingw64-winpthreads
OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-winpthreads?expand=0&rev=4
This commit is contained in:
parent
cef725204c
commit
0462d19705
@ -31,10 +31,9 @@ License: MIT and BSD-3-Clause
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://mingw-w64.sf.net/
|
Url: http://mingw-w64.sf.net/
|
||||||
Source: mingw-w64-winpthreads-%{version}.tar.xz
|
Source: mingw-w64-winpthreads-%{version}.tar.xz
|
||||||
BuildRequires: mingw64-cross-gcc
|
BuildRequires: mingw64-cross-gcc-bootstrap
|
||||||
BuildRequires: mingw64-cross-gcc-c++
|
BuildRequires: mingw64-cross-pkg-config
|
||||||
BuildRequires: mingw64-filesystem
|
BuildRequires: mingw64-filesystem
|
||||||
BuildRequires: mingw64-pkg-config
|
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -59,12 +58,13 @@ mingw-w64's implementation of POSIX threads for Windows.
|
|||||||
%setup -q -n winpthreads
|
%setup -q -n winpthreads
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{_mingw64_configure}
|
%{_mingw64_configure} \
|
||||||
|
--disable-static \
|
||||||
|
--enable-shared
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b=%{buildroot};
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
make install DESTDIR="$b"
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user