[build] msquic: fix MinGW static OpenSSL linking

Build MsQuic's component archives instead of flattening Windows import
libraries into the monolithic archive. Use the static OpenSSL archives
supplied by the active MinGW toolchain while retaining Schannel for MSVC
and QuicTLS for Linux.

Let the active compiler locate its target root and use the restricted
ntdll import library. Provide GCC-compatible byte interlocked
operations, expose native XDP calls, and suppress expected compatibility
warnings.
This commit is contained in:
Geoffrey McRae
2026-10-02 15:15:13 +10:00
parent 8ca2edbcc6
commit 7530943446
6 changed files with 237 additions and 261 deletions

View File

@@ -3,6 +3,13 @@
LIBRARY "ntdll.dll"
EXPORTS
NtCreateFile
NtDelayExecution
NtDeviceIoControlFile
NtSetInformationThread
NtSetTimerResolution
RtlInitUnicodeString
RtlIpv4AddressToStringExA
RtlIpv6AddressToStringExA
RtlNtStatusToDosError
RtlUTF8ToUnicodeN