mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
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>
This commit is contained in:
parent
0d03c33f22
commit
03d52226e2
@ -117,6 +117,19 @@ config BR2_PACKAGE_PHP_EXT_MYSQLI
|
|||||||
help
|
help
|
||||||
MySQL Improved extension support
|
MySQL Improved extension support
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PHP_EXT_PGSQL
|
||||||
|
bool "PostgreSQL"
|
||||||
|
depends on BR2_USE_MMU # postgresql
|
||||||
|
depends on !BR2_STATIC_LIBS
|
||||||
|
depends on BR2_USE_WCHAR # postgresql
|
||||||
|
select BR2_PACKAGE_POSTGRESQL
|
||||||
|
help
|
||||||
|
PostgreSQL support
|
||||||
|
|
||||||
|
comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar"
|
||||||
|
depends on BR2_USE_MMU
|
||||||
|
depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
|
||||||
|
|
||||||
config BR2_PACKAGE_PHP_EXT_SQLITE
|
config BR2_PACKAGE_PHP_EXT_SQLITE
|
||||||
bool "SQLite3"
|
bool "SQLite3"
|
||||||
select BR2_PACKAGE_SQLITE
|
select BR2_PACKAGE_SQLITE
|
||||||
|
@ -196,6 +196,12 @@ endif
|
|||||||
ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y)
|
ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y)
|
||||||
PHP_CONF_OPTS += --with-mysqli
|
PHP_CONF_OPTS += --with-mysqli
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
|
||||||
PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
|
PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
|
||||||
PHP_DEPENDENCIES += sqlite
|
PHP_DEPENDENCIES += sqlite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user