mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-29 05:21:44 -09:00
package/ltrace: mark as unavailable on musl
Commit bf9583a502 enabled elfutils on
musl, as well as all its reverse dependencies, including ltrace. Turns
out that even with elfutils fixed, ltrace doesn't build on musl.
Fabrice proposed a patch to fix it, at:
https://patchwork.ozlabs.org/project/buildroot/patch/20231104155857.110364-1-fontaine.fabrice@gmail.com/
but ltrace has no active upstream, and some aspects of the patch don't
look correct. So err on the safe side and make ltrace unavailable for
musl configurations.
Fixes:
http://autobuild.buildroot.org/results/a3a5c46e8562d3f091a9b4b205322168fbf9d16b
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
@@ -15,6 +15,7 @@ config BR2_PACKAGE_LTRACE
|
||||
depends on BR2_USE_WCHAR # elfutils
|
||||
depends on !BR2_STATIC_LIBS # elfutils
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils
|
||||
depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
|
||||
select BR2_PACKAGE_ELFUTILS
|
||||
help
|
||||
@@ -25,7 +26,8 @@ config BR2_PACKAGE_LTRACE
|
||||
|
||||
http://ltrace.org
|
||||
|
||||
comment "ltrace needs a toolchain w/ wchar, dynamic library, threads"
|
||||
comment "ltrace needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads"
|
||||
depends on BR2_PACKAGE_LTRACE_ARCH_SUPPORTS
|
||||
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|| !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|
||||
|
||||
Reference in New Issue
Block a user