summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorCarlos Rafael Giani <crg7475@mailbox.org>2022-03-04 08:55:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-04 17:14:15 +0000
commit0d6b4a93e58f72e17fe0839d3f337efafded1277 (patch)
tree4ebff5418efa4a2e9f9c5cf05ca03781ad79201d /meta/recipes-graphics
parent73f25a3ede62254a0c18f4779f3c984feedbd3b0 (diff)
downloadpoky-0d6b4a93e58f72e17fe0839d3f337efafded1277.tar.gz
libsdl2: Add libunwind-native to the libsdl2-native DEPENDS
This fixes this CMake configuration error: | -- Checking for one of the modules 'libunwind' | CMake Error at [...]/build/tmp/work/x86_64-linux/libsdl2-native/2.0.20-r0/recipe-sysroot-native/usr/share/cmake-3.22/Modules/FindPkgConfig.cmake:890 (message): | None of the required 'libunwind' found | Call Stack (most recent call first): | CMakeLists.txt:1367 (pkg_search_module) This error happens even if libunwind is installed complete with its C headers and development .so files (in Ubuntu, this means libunwind-dev is installed). (From OE-Core rev: 1b114fa2d221c9810852526f8b45a3d2c856a502) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index 90724ab8b7..802efba980 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -27,6 +27,8 @@ SRC_URI[sha256sum] = "c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f
27 27
28inherit cmake lib_package binconfig-disabled pkgconfig 28inherit cmake lib_package binconfig-disabled pkgconfig
29 29
30DEPENDS:class-native += "libunwind-native"
31
30BINCONFIG = "${bindir}/sdl2-config" 32BINCONFIG = "${bindir}/sdl2-config"
31 33
32CVE_PRODUCT = "simple_directmedia_layer sdl" 34CVE_PRODUCT = "simple_directmedia_layer sdl"