diff --git a/package/gnuchess/Config.in b/package/gnuchess/Config.in index 13ae801fb8..aa446f4b22 100644 --- a/package/gnuchess/Config.in +++ b/package/gnuchess/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_GNUCHESS bool "gnuchess" + depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_FLEX help @@ -7,5 +8,5 @@ config BR2_PACKAGE_GNUCHESS http://ftp.gnu.org/pub/gnu/chess -comment "gnuchess needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "gnuchess needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS