summaryrefslogtreecommitdiffstats
path: root/package/lttng-babeltrace/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/lttng-babeltrace/Config.in')
-rw-r--r--package/lttng-babeltrace/Config.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/lttng-babeltrace/Config.in b/package/lttng-babeltrace/Config.in
index 6f47304c1..4f14477ba 100644
--- a/package/lttng-babeltrace/Config.in
+++ b/package/lttng-babeltrace/Config.in
@@ -4,9 +4,10 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_LIBGLIB2
- # libglib2 needs gettext which needs wchar support, and we
- # also depends on util-linux which needs wchar
+ # libglib2 needs thread support and gettext which needs wchar support, and
+ # we also depends on util-linux which needs wchar
depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_THREADS
# util-linux depends on largefile support
depends on BR2_LARGEFILE
help
@@ -26,5 +27,6 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
http://lttng.org
-comment "lttng-babeltrace needs WCHAR and LARGEFILE support"
- depends on BR2_PACKAGE_LTTNG_TOOLS && !(BR2_USE_WCHAR || BR2_LARGEFILE)
+comment "lttng-babeltrace needs WCHAR, threading and LARGEFILE support"
+ depends on BR2_PACKAGE_LTTNG_TOOLS && \
+ (!BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS)