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>
(cherry picked from commit 859bd545821a838454577c4c1c9106837cda51cb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
f93225071a
commit
ceff4b7dc4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user