diff mbox series

[meta-oe] ltrace: fix unwind PACKAGECONFIG

Message ID 20250214082107.1158848-1-skandigraun@gmail.com
State Accepted
Headers show
Series [meta-oe] ltrace: fix unwind PACKAGECONFIG | expand

Commit Message

Gyorgy Sarvari Feb. 14, 2025, 8:21 a.m. UTC
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>
---
 meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index a3ddf2a76b..58cfcb2f06 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -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"