HomePhabricator

build: fix mingw miniupnpc cflags

Description

build: fix mingw miniupnpc cflags

Summary:

Pulls in a patch I've upstreamed to miniupnpc so that we properly pass our cflags when building it for mingw. See miniupnp/miniupnp#619. Also set D_WIN32_WINNT to 0x0601 to match libevent, configure etc. Previously it was being set to 0X501.

Backport of core#25964.

Depends on D16562.

Test Plan: Run the GUIX builds.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16563

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Aug 31 2022, 11:23
FabienCommitted on Jul 31 2024, 19:59
FabienPushed on Jul 31 2024, 19:59
Reviewer
Restricted Project
Differential Revision
D16563: build: fix mingw miniupnpc cflags
Parents
rABC12144825fb38: build: miniupnpc 2.2.2
Branches
Unknown
Tags
Unknown