From b4ae11371c678673018b4bb065b6a3fab200cbf1 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 6 Dec 2024 15:42:37 +0000 Subject: [PATCH] sdl2: build without libunwind SDL2 links tests against libunwind if libunwind is detected by CMake. This results in build failure due to undefined symbols. Prevent building with libunwind for now. Signed-off-by: Daniel Golle --- libs/sdl2/patches/110-tests-no-libunwind.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libs/sdl2/patches/110-tests-no-libunwind.patch diff --git a/libs/sdl2/patches/110-tests-no-libunwind.patch b/libs/sdl2/patches/110-tests-no-libunwind.patch new file mode 100644 index 0000000..eb9ec8d --- /dev/null +++ b/libs/sdl2/patches/110-tests-no-libunwind.patch @@ -0,0 +1,10 @@ +--- a/cmake/sdlchecks.cmake ++++ b/cmake/sdlchecks.cmake +@@ -1406,7 +1406,4 @@ macro(CheckLibUnwind) + endif() + endif() + +- if(found_libunwind) +- set(HAVE_LIBUNWIND_H TRUE) +- endif() + endmacro() -- 2.30.2