[Buildroot] [PATCH 1/1] php: add pdo_pgsql extension

Thomas De Schampheleire patrickdepinguin at gmail.com
Sun Aug 10 06:57:37 UTC 2014


Floris Bos <bos at je-eigen-domein.nl> schreef:
>Adds support for the PDO PostgreSQL extension to the PHP package.
>
>Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>
>---
> package/php/Config.ext                | 10 ++++++++
> package/php/php-04-no-pg-config.patch | 46 +++++++++++++++++++++++++++++++++++
> package/php/php.mk                    |  4 +++
> 3 files changed, 60 insertions(+)
> create mode 100644 package/php/php-04-no-pg-config.patch
>
>diff --git a/package/php/Config.ext b/package/php/Config.ext
>index 078be8d..cb25d26 100644
>--- a/package/php/Config.ext
>+++ b/package/php/Config.ext
>@@ -135,6 +135,16 @@ comment "MySQL drivers need a toolchain w/ C++"
> 	depends on BR2_USE_MMU
> 	depends on !BR2_INSTALL_LIBSTDCPP
> 
>+config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
>+	bool "PostgreSQL"
>+	depends on BR2_TOOLCHAIN_USES_GLIBC
>+	select BR2_PACKAGE_POSTGRESQL
>+	help
>+	  PDO driver for PostgreSQL
>+
>+comment "PostgreSQL needs glibc toolchain"
>+	depends on !BR2_TOOLCHAIN_USES_GLIBC

This should be: 'needs an (e)glibc toolchain' I believe. Double check the manual...





More information about the buildroot mailing list