From 873405da66e890d18bd5642b99a4e5a5ab2a10b0 Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 20 Mar 2026 22:27:09 -0300 Subject: [PATCH] build: try to restore consoleapi --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 76dd110..eadbb08 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,12 @@ jobs: sudo cp -r mingw64/include/openssl /usr/x86_64-w64-mingw32/include/ sudo cp mingw64/lib/libssl.a mingw64/lib/libcrypto.a /usr/x86_64-w64-mingw32/lib/ + - name: Patch missing MinGW headers + run: | + [ -f /usr/x86_64-w64-mingw32/include/consoleapi.h ] || \ + printf '#pragma once\n#include \n' | \ + sudo tee /usr/x86_64-w64-mingw32/include/consoleapi.h > /dev/null + - name: Configure CMake run: | cmake -B build -S . \