summaryrefslogtreecommitdiff
path: root/package/php
diff options
context:
space:
mode:
Diffstat (limited to 'package/php')
-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 0f5b98205..d95b19ed3 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