From 742f8efa08fc0f3fef2b1ea0c8ee283fced6bbab Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Wed, 13 Aug 2014 15:57:11 +0200 Subject: 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 Signed-off-by: Thomas Petazzoni --- package/php/php.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/php/php.mk') 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 -- cgit v1.2.3