!2 set bundle_dummy_pthread_headers to 1
From: @vyloy Reviewed-by: @jianminw Signed-off-by: @jianminw
This commit is contained in:
commit
9cc0450d44
@ -5,24 +5,11 @@
|
||||
|
||||
#%%global pre rc2
|
||||
|
||||
# The mingw-w64-headers provide the headers pthread_time.h
|
||||
# and pthread_unistd.h by default and are dummy headers.
|
||||
# The real implementation for these headers is in a separate
|
||||
# library called winpthreads. As long as winpthreads isn't
|
||||
# available (and the old pthreads-w32 implementation is used)
|
||||
# the flag below needs to be set to 1. When winpthreads is
|
||||
# available then this flag needs to be set to 0 to avoid
|
||||
# a file conflict with the winpthreads headers
|
||||
# Winpthreads is available as of Fedora 20
|
||||
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
|
||||
%global bundle_dummy_pthread_headers 0
|
||||
%else
|
||||
%global bundle_dummy_pthread_headers 1
|
||||
%endif
|
||||
|
||||
Name: mingw-headers
|
||||
Version: 6.0.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Win32/Win64 header files
|
||||
|
||||
License: Public Domain and LGPLv2+ and ZPLv2.1
|
||||
@ -122,5 +109,8 @@ rm -f %{buildroot}%{mingw64_includedir}/pthread_unistd.h
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Oct 16 2020 Zhiyi Weng <zhiyi@iscas.ac.cn> - 6.0.0-4
|
||||
- Set bundle_dummy_pthread_headers to 1
|
||||
|
||||
* Fri Oct 09 2020 Zhiyi Weng <zhiyi@iscas.ac.cn> - 6.0.0-3
|
||||
- Initial version.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user