diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2018-10-20 23:48:41 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-11-04 11:42:05 +0100 |
commit | 03d52226e2f02d642bf3d44ca299cc190cb0b253 (patch) | |
tree | bb9151f17062b5c87518651be4f3f5f15bbf1432 /package/php/php.mk | |
parent | 0d03c33f22a845218681d19eadddebfda0ef39f6 (diff) | |
download | buildroot-03d52226e2f02d642bf3d44ca299cc190cb0b253.tar.gz buildroot-03d52226e2f02d642bf3d44ca299cc190cb0b253.zip |
package/php: add support for PostgreSQL (non-PDO)
Needed for example for phppgadmin.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add missing BR2_USE_WCHAR dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r-- | package/php/php.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/php/php.mk b/package/php/php.mk index 4365847733..bd1835f65f 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -196,6 +196,12 @@ endif ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y) PHP_CONF_OPTS += --with-mysqli endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_PGSQL),y) +PHP_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += postgresql +endif + ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y) PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr PHP_DEPENDENCIES += sqlite |