]> code.ossystems Code Review - openembedded-core.git/commit
libsdl2: Fix build when libunwind is not used
authorKhem Raj <raj.khem@gmail.com>
Fri, 7 Jan 2022 19:22:55 +0000 (11:22 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Jan 2022 14:17:31 +0000 (14:17 +0000)
commitfb450807774d100b9b568364b014ac46f5642b7e
tree16d6f551101bcf9e4227df05125c85e8dffd3b44
parent049879ba842d89f268b8e3a4e26410d13bc54158
libsdl2: Fix build when libunwind is not used

clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/libsdl2/libsdl2/optional-libunwind-generic.patch [new file with mode: 0644]
meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb