summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnar Mar SigurĂ°sson <antab@valka.is>2008-06-01 19:42:14 +0000
committerArnar Mar SigurĂ°sson <antab@valka.is>2008-06-01 19:42:14 +0000
commita9aa94d1be52a7c56148219f69686b4fee661b4a (patch)
tree308b19d5e0637aecfee1bfee3de65d298ac2fe99
parent3d3aacff880d622ec36cbb138b6e607d71dd49de (diff)
downloadbuildroot-novena-a9aa94d1be52a7c56148219f69686b4fee661b4a.tar.gz
buildroot-novena-a9aa94d1be52a7c56148219f69686b4fee661b4a.zip
Add missing depends
-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