summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2010-06-03 18:45:24 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2010-06-06 20:46:19 (GMT)
commitd9c2b636746d96e40cce1111211f9f6da477af28 (patch)
treed89b96a49c98ee5ad1aea8e0bb0bc118887d795d
parent8ac2bba9bbaee491ddb083d8ce80abf3130e2f2c (diff)
downloadbuildroot-d9c2b636746d96e40cce1111211f9f6da477af28.tar.gz
buildroot-d9c2b636746d96e40cce1111211f9f6da477af28.tar.bz2
php: add sqlite3 dependency when using external
Closes #1945 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--CHANGES5
-rw-r--r--package/php/php.mk1
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 7c42459..f26f67f 100644
--- 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:
diff --git a/package/php/php.mk b/package/php/php.mk
index c5f9c14..962547f 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -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