Page MenuHomePhabricator

build: fix mingw miniupnpc cflags
ClosedPublic

Authored by Fabien on Jul 31 2024, 18:56.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABC62af58c8a4a6: 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.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable