summaryrefslogtreecommitdiffstats
path: root/package/php/php.mk
diff options
context:
space:
mode:
authorFloris Bos <bos@je-eigen-domein.nl>2014-08-13 15:57:11 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-08-17 21:19:50 +0200
commit742f8efa08fc0f3fef2b1ea0c8ee283fced6bbab (patch)
tree4ade71c6e88ad4647a080b5c432e6a6db4130669 /package/php/php.mk
parenta9dbaa77263f545f3af5fce0276b3e34dbc467d5 (diff)
downloadbuildroot-742f8efa08fc0f3fef2b1ea0c8ee283fced6bbab.tar.gz
buildroot-742f8efa08fc0f3fef2b1ea0c8ee283fced6bbab.zip
php: add pdo_pgsql extension
Adds support for the PDO PostgreSQL extension to the PHP package. [Thomas: slightly adjust Config.in comment to indicate that's it's the "Postgresql driver" that needs (e)glibc and not just "Postgresql".] Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r--package/php/php.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index de7d668355..d0418ad62d 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -162,6 +162,10 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y)
PHP_CONF_OPT += --with-pdo-mysql=$(STAGING_DIR)/usr
PHP_DEPENDENCIES += mysql
endif
+ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL),y)
+ PHP_CONF_OPT += --with-pdo-pgsql=$(STAGING_DIR)/usr
+ PHP_DEPENDENCIES += postgresql
+endif
endif
### Use external PCRE if it's available
OpenPOWER on IntegriCloud