ltrace: fix unwind PACKAGECONFIG

In case unwind PACKAGECONFIG is enabled, do_configure task
fails with the following error message:

| configure: error: Cannot enable both --with-libunwind and --with-elfutils

To avoid this error, disable elfutils with this PACKAGECONFIG.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-02-14 09:21:07 +01:00 committed by Khem Raj
parent aef15896ff
commit 13fcedfc92
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -36,7 +36,7 @@ S = "${WORKDIR}/git"
inherit autotools
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
PACKAGECONFIG[unwind] = "--with-libunwind --without-elfutils,--without-libunwind,libunwind"
PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
COMPATIBLE_HOST:riscv64 = "null"