summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey V.Kosteltsev <AKosteltsev@IBS.RU>2022-04-27 11:46:23 +0300
committerAndrey V.Kosteltsev <AKosteltsev@IBS.RU>2022-05-22 21:27:11 +0300
commitc64d303879448b12795491ce17dfbc13a2c0d145 (patch)
tree0a44476ac9b383b2275a97d24275dfc622414b47
parent9370a93f5f1b53b3d2f2c0c79871a84f3b9fbf62 (diff)
downloadopenbmc-c64d303879448b12795491ce17dfbc13a2c0d145.tar.xz
poky: libsdl2: Do not error if libunwind is not found
Signed-off-by: Andrey V.Kosteltsev <AKosteltsev@IBS.RU>
-rw-r--r--poky/meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch3
1 files changed, 2 insertions, 1 deletions
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 <raj.khem@gmail.com>
@@ -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})