fix: surgically remove unwind source from FreeRDP before build — dlfcn.h incompatible with MinGW
Some checks failed
Build & Sign Wraith / Build Windows + Sign (push) Failing after 17s
Some checks failed
Build & Sign Wraith / Build Windows + Sign (push) Failing after 17s
This commit is contained in:
parent
64113e5eef
commit
ad4f23dc1a
@ -140,7 +140,10 @@ jobs:
|
|||||||
export CFLAGS="-w"
|
export CFLAGS="-w"
|
||||||
export CXXFLAGS="-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 \
|
cmake -B build -G Ninja \
|
||||||
-DCMAKE_TOOLCHAIN_FILE=/tmp/mingw-toolchain.cmake \
|
-DCMAKE_TOOLCHAIN_FILE=/tmp/mingw-toolchain.cmake \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user