mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
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 (From OE-Core rev: 824c07d1cf2d1574dfe8f395af37479064782426) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
820 B
PHP
24 lines
820 B
PHP
SUMMARY = "Library for obtaining the call-chain of a program"
|
|
DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
|
|
HOMEPAGE = "http://www.nongnu.org/libunwind"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=2d80c8ed4062b8339b715f90fa68cc9f"
|
|
DEPENDS += "libatomic-ops"
|
|
DEPENDS_append_libc-musl = " libucontext"
|
|
|
|
inherit autotools multilib_header
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz"
|
|
PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, latex2man-native"
|
|
|
|
EXTRA_OECONF_arm = "--enable-debug-frame"
|
|
EXTRA_OECONF_armeb = "--enable-debug-frame"
|
|
EXTRA_OECONF_aarch64 = "--enable-debug-frame"
|
|
|
|
do_install_append () {
|
|
oe_multilib_header libunwind.h
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|