Add missing depends
authorArnar Mar Sigurðsson <antab@valka.is>
Sun, 1 Jun 2008 19:42:14 +0000 (19:42 -0000)
committerArnar Mar Sigurðsson <antab@valka.is>
Sun, 1 Jun 2008 19:42:14 +0000 (19:42 -0000)
package/php/Config.ext
package/php/php.mk

index eb8d48f5c6bdc91581efafa6d13c53dd4cd5408d..1ffcf3edd71b52b37cd528785e32eb112e7205a2 100644 (file)
@@ -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
index 9e824e5d93cc860a2dacacaff48448493dfe9f5b..c6b0bbbc759bda9f789e510940becfcd434bb522 100644 (file)
@@ -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