summaryrefslogtreecommitdiff
path: root/package/php
diff options
context:
space:
mode:
Diffstat (limited to 'package/php')
-rw-r--r--package/php/Config.ext2
-rw-r--r--package/php/php.mk1
2 files changed, 3 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index eb8d48f5c..1ffcf3edd 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -145,6 +145,7 @@ comment "Database extensions"
config BR2_PACKAGE_PHP_EXT_SQLITE
bool "sqlite"
depends on BR2_PACKAGE_PHP
+ select BR2_PACKAGE_SQLITE
default y
help
SQLite
@@ -173,6 +174,7 @@ config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
bool "PDO_MySQL"
depends on BR2_PACKAGE_PHP && BR2_PACKAGE_PHP_EXT_PDO
+ select BR2_PACKAGE_MYSQL_CLIENT
default n
help
MySQL support for PDO
diff --git a/package/php/php.mk b/package/php/php.mk
index 9e824e5d9..c6b0bbbc7 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -109,6 +109,7 @@ endif
### Database extensions
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
PHP_CONFIGURE+=--with-sqlite
+ PHP_DEPS+=sqlite
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE_UTF8),y)
PHP_CONFIGURE+=--enable-sqlite-utf8
endif