From e2a47ba734d3b13c118a509f04e1f0a16b16f5eac9055d0997abb8cd71a87af4 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 16 Jun 2014 09:10:58 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-winpthreads?expand=0&rev=4 --- mingw32-winpthreads.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mingw32-winpthreads.spec b/mingw32-winpthreads.spec index cd386f8..ae6c862 100644 --- a/mingw32-winpthreads.spec +++ b/mingw32-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: mingw32-cross-gcc -BuildRequires: mingw32-cross-gcc-c++ +BuildRequires: mingw32-cross-gcc-bootstrap +BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-filesystem -BuildRequires: mingw32-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 -%{_mingw32_configure} +%{_mingw32_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)