File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ $(package)_file_name=$(package)-$($(package)_version).tar.gz
5
5
$(package)_sha256_hash =888fb0976ba61518276fe1eda988589c700a3f2a69d71089260d75562afd3687
6
6
$(package)_patches =dont_leak_info.patch respect_mingw_cflags.patch
7
7
8
+ # Next time this package is updated, ensure that _WIN32_WINNT is still properly set.
9
+ # See discussion in https://github.com/bitcoin/bitcoin/pull/25964.
8
10
define $(package)_set_vars
9
11
$(package ) _build_opts=CC="$($(package ) _cc) "
10
12
$(package ) _build_opts_darwin=LIBTOOL="$($(package ) _libtool) "
11
- $(package ) _build_opts_mingw32=-f Makefile.mingw
13
+ $(package ) _build_opts_mingw32=-f Makefile.mingw CFLAGS=" $( $( package ) _cflags) -D_WIN32_WINNT=0x0601"
12
14
$(package ) _build_env+=CFLAGS="$($(package ) _cflags) $($(package ) _cppflags) " AR="$($(package ) _ar) "
13
15
endef
14
16
You can’t perform that action at this time.
0 commit comments