From ad4f23dc1ab40a63ee144716681b809cefef6cab Mon Sep 17 00:00:00 2001 From: Vantz Stockwell Date: Tue, 17 Mar 2026 09:39:22 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20surgically=20remove=20unwind=20source=20?= =?UTF-8?q?from=20FreeRDP=20before=20build=20=E2=80=94=20dlfcn.h=20incompa?= =?UTF-8?q?tible=20with=20MinGW?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-release.yml b/.gitea/workflows/build-release.yml index cdda4a7..f00fb34 100644 --- a/.gitea/workflows/build-release.yml +++ b/.gitea/workflows/build-release.yml @@ -140,7 +140,10 @@ jobs: export CFLAGS="-w" export CXXFLAGS="-w" - # Fresh configure — no cached state + # Remove unwind source — uses dlfcn.h which doesn't exist in MinGW + rm -rf winpr/libwinpr/utils/unwind + sed -i '/unwind/d' winpr/libwinpr/CMakeLists.txt 2>/dev/null || true + cmake -B build -G Ninja \ -DCMAKE_TOOLCHAIN_FILE=/tmp/mingw-toolchain.cmake \ -DCMAKE_BUILD_TYPE=Release \