]> code.ossystems Code Review - openembedded-core.git/commit
libunwind: Link with libucontext on musl
authorKhem Raj <raj.khem@gmail.com>
Fri, 12 Mar 2021 07:26:25 +0000 (23:26 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Mar 2021 14:37:35 +0000 (14:37 +0000)
commit824c07d1cf2d1574dfe8f395af37479064782426
tree5922d8e95a0e9e07c895424cb4442c5f4ef05af8
parent1e7ed44d87034446f1d07692c9378c3b0a8a9dd3
libunwind: Link with libucontext on musl

Functions like unw_getcontext in libunwind call getcontext() which are
not part of musl C library like glibc, however there is a supplimental
library providing these functions called libucontext, therefore link
libunwind with a static version of this library to resolve such symbols,
this inturn helps packages needing libunwind, who look for certain
APIs in libunwind during configure e.g. heaptrack

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libunwind/libunwind.inc
meta/recipes-support/libunwind/libunwind_1.5.0.bb