summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-21 21:45:36 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-07-21 21:45:36 (GMT)
commit68fe213daa83dee8f4ee54e1878c2b893e81912b (patch)
tree406d0be61c8a0743a8470e74e4cb0e56bcff8b99
parent884c7c6b99838b409418585132732630e3c38a82 (diff)
downloadbuildroot-68fe213daa83dee8f4ee54e1878c2b893e81912b.tar.gz
buildroot-68fe213daa83dee8f4ee54e1878c2b893e81912b.tar.bz2
php: pdo mysql extension needs C++ support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/php/Config.ext4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index 0f5b982..d95b19e 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -167,8 +167,12 @@ config BR2_PACKAGE_PHP_EXT_PDO_SQLITE_EXTERNAL
config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
bool "PDO_MySQL"
depends on BR2_PACKAGE_PHP_EXT_PDO
+ depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_MYSQL_CLIENT
help
PDO driver for MySQL
+comment "PDO_MySQL requires a toolchain with C++ support"
+ depends on !BR2_INSTALL_LIBSTDCPP && BR2_PACKAGE_PHP_EXT_PDO
+
endmenu