mysql_client: needs thread support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 5 Oct 2013 18:34:20 +0000 (20:34 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 5 Oct 2013 19:06:40 +0000 (21:06 +0200)
Fixes:

   http://autobuild.buildroot.org/results/9b1/9b19b312651d21ea2fd54f364b11b01e4aa25e4b/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/Config.in
package/mysql_client/Config.in
package/php/Config.ext

index 495711562e996f9d8415eab844c422e6ec9f570d..da65053234ac43ec5514762bae671760c319b831 100644 (file)
@@ -235,6 +235,7 @@ config BR2_PACKAGE_COLLECTD_MYSQL
        bool "mysql"
        depends on BR2_INSTALL_LIBSTDCPP # mysql
        depends on BR2_USE_MMU # mysql
+       depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        help
          Connects to a MySQL database and issues a "show status" command.
index 970b9b98ccdd56ffc2d7cd8bfe89aab54ecaa29e..8c98b7a767a467664c3f1663f63db565cc6172fe 100644 (file)
@@ -2,10 +2,11 @@ config BR2_PACKAGE_MYSQL_CLIENT
        bool "MySQL client"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # fork()
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        select BR2_PACKAGE_NCURSES
        select BR2_PACKAGE_READLINE
        help
          MySQL client
 
-comment "Mysql client requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "Mysql client requires a toolchain with C++ and thread support"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
index 006d7dd34a6d2d02d3bde339ebf203868e76f3f1..3ba591d0de706026bab918ef6edab0b25f9bab66 100644 (file)
@@ -106,6 +106,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQL
        bool "Mysql"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # mysql
+       depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        help
          MySQL support
@@ -114,6 +115,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQLI
        bool "Mysqli"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # mysql
+       depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        select BR2_PACKAGE_PHP_EXT_MYSQL
        help
@@ -130,6 +132,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
        bool "MySQL"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_MMU # mysql
+       depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
        select BR2_PACKAGE_MYSQL_CLIENT
        help
          PDO driver for MySQL