diff options
| author | Peter Korsgaard <peter@korsgaard.com> | 2014-09-01 15:22:07 +0200 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2014-09-01 15:22:07 +0200 |
| commit | 5aedb8be688d47526101bdb3e58598df588326e6 (patch) | |
| tree | ae348b9262fdaf123b3b152e65b6116b5ef36cb4 /package/php | |
| parent | 7f0ce7c8780569afa33b68c9c024bf4072e29a99 (diff) | |
| parent | 62387a8b11224a9c5320d42e2f0c4e2089d3452b (diff) | |
| download | buildroot-5aedb8be688d47526101bdb3e58598df588326e6.tar.gz buildroot-5aedb8be688d47526101bdb3e58598df588326e6.zip | |
Merge branch 'next'
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/php')
| -rw-r--r-- | package/php/Config.ext | 10 | ||||
| -rw-r--r-- | package/php/php.mk | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext index e07779acab..6880cd76e4 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 driver needs an (e)glibc toolchain" + depends on !BR2_TOOLCHAIN_USES_GLIBC + config BR2_PACKAGE_PHP_EXT_PDO_SQLITE bool "SQLite3" select BR2_PACKAGE_SQLITE diff --git a/package/php/php.mk b/package/php/php.mk index d174533f01..712561c0e6 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 |

