On master (200d97faf2ed0bd0cbef93dd4bbbe77cf8fe5d13) cross compiling for Windows with depends being built with DEBUG=1
is broken in two places:
libbitcoinconsensus
, see bitcoin/bitcoin#19772libunivalue
, see #22646 (comment)
This PR workarounds both cases.
Closes bitcoin/bitcoin#19772.
The previous attempt was #21344.