From: Daniel Golle Date: Fri, 6 Dec 2024 15:42:37 +0000 (+0000) Subject: sdl2: build without libunwind X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b4ae11371c678673018b4bb065b6a3fab200cbf1;p=feed%2Fvideo.git 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 --- 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()