diff --git a/package/libcgroup/Config.in b/package/libcgroup/Config.in index b9333be2a2..4f9ec074b4 100644 --- a/package/libcgroup/Config.in +++ b/package/libcgroup/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_LIBCGROUP bool "libcgroup" depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC help libcgroup is a library that abstracts the control @@ -17,5 +18,5 @@ config BR2_PACKAGE_LIBCGROUP_TOOLS endif -comment "libcgroup needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP +comment "libcgroup needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS