php: add sqlite3 dependency when using external
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 3 Jun 2010 18:45:24 +0000 (15:45 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 Jun 2010 20:46:19 +0000 (22:46 +0200)
Closes #1945

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/php/php.mk

diff --git a/CHANGES b/CHANGES
index 7c424596c47e38bdbb62e2fdc0baf92de10dbbc8..f26f67f17c717b1dfaca6a9e55ac5a834a93c7bf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,8 +7,8 @@
        New packages: cgilua, copas, coxpcall, luafilesystem,
        luasocket, rings, wsapi, xavante
 
-       Updated/fixed packages: cdrkit, libidn, netperf, qt, tn5250,
-       usbutils
+       Updated/fixed packages: cdrkit, libidn, netperf, php, qt,
+       tn5250, usbutils
 
        Removed packages: modutils
 
@@ -20,6 +20,7 @@
        #1897: Bump libusb to 1.0.7
        #1903: Bump tn5250 to 0.17.4 and migrate to autotargets
        #1909: netperf-2.4.5 fails to build because of undeclared SOCK_DCCP
+       #1945: PHP: add sqlite3 dependency when using external lib
 
 2010.05, Released May 30th, 2010:
 
index c5f9c140e0f15aa3deb04226669666ace0b79728..962547f6f8dd2696afda0af3e12a3071521643dc 100644 (file)
@@ -151,6 +151,7 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_PDO),y)
 ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_SQLITE),y)
 ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_SQLITE_EXTERNAL),y)
        PHP_CONF_OPT += --with-pdo-sqlite=$(STAGING_DIR)/usr
+       PHP_DEPENDENCIES += sqlite
 else
        PHP_CONF_OPT += --with-pdo-sqlite
 endif