From c64d303879448b12795491ce17dfbc13a2c0d145 Mon Sep 17 00:00:00 2001 From: "Andrey V.Kosteltsev" Date: Wed, 27 Apr 2022 11:46:23 +0300 Subject: poky: libsdl2: Do not error if libunwind is not found Signed-off-by: Andrey V.Kosteltsev --- .../recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poky/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch b/poky/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch index 757b99a5f6..3d74faa4ce 100644 --- a/poky/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch +++ b/poky/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch @@ -10,7 +10,8 @@ Signed-off-by: Khem Raj @@ -1358,7 +1358,7 @@ elseif(UNIX AND NOT APPLE AND NOT ANDROI if(HAVE_LIBUNWIND_H) # We've already found the header, so REQUIRE the lib to be present - pkg_search_module(UNWIND REQUIRED libunwind) +- pkg_search_module(UNWIND REQUIRED libunwind) ++ pkg_search_module(UNWIND libunwind) - pkg_search_module(UNWIND_GENERIC REQUIRED libunwind-generic) + pkg_search_module(UNWIND_GENERIC libunwind-generic) list(APPEND EXTRA_LIBS ${UNWIND_LIBRARIES} ${UNWIND_GENERIC_LIBRARIES}) -- cgit v1.2.3