summaryrefslogtreecommitdiffstats
path: root/package/ltrace
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-08-08 20:58:34 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-09 11:22:08 +0200
commitfdad2e564e1121990d04405ddee68dc568780496 (patch)
treecbc8e1a9c8d23da361d79d0deb8520e4ac0e8dd0 /package/ltrace
parente86fc46a99ab8def024e5e1c22c01c4acf67d992 (diff)
downloadbuildroot-fdad2e564e1121990d04405ddee68dc568780496.tar.gz
buildroot-fdad2e564e1121990d04405ddee68dc568780496.zip
package/elfutils: fix dependency on C library
As Thomas puts it: The comment can only be visible when a toolchain that is *not* uclibc and *not* glibc is used. I.e, the comment is now only visible when musl is used. Which is not what we want. Indeed, I completely borked the conditions. When a glibc or uClibc toolchain is selected, the comment is entirely hidden, and we don;t get the extra requirements (wchar, !static). Fix that with the solution proposed by Thomas. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/ltrace')
-rw-r--r--package/ltrace/Config.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/ltrace/Config.in b/package/ltrace/Config.in
index 5576efc513..ff4d7bd3b0 100644
--- a/package/ltrace/Config.in
+++ b/package/ltrace/Config.in
@@ -19,5 +19,5 @@ config BR2_PACKAGE_LTRACE
http://ltrace.org
comment "ltrace needs a uclibc or (e)glibc toolchain w/ wchar, dynamic library"
- depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
- depends on !BR2_TOOLCHAIN_USES_UCLIBC && !BR2_TOOLCHAIN_USES_GLIBC
+ depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
+ || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
OpenPOWER on IntegriCloud