Browse Source

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>
Gyorgy Sarvari 3 months ago
parent
commit
13fcedfc92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta-oe/recipes-devtools/ltrace/ltrace_git.bb

+ 1 - 1
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"