package/php: add unixodbc support
[Thomas: fix indentation.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
f33fe4886e
commit
c6ae88084c
@ -159,6 +159,12 @@ config BR2_PACKAGE_PHP_EXT_PDO_SQLITE
|
||||
help
|
||||
SQLite3 driver for PDO
|
||||
|
||||
config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC
|
||||
bool "unixODBC"
|
||||
select BR2_PACKAGE_UNIXODBC
|
||||
help
|
||||
unixODBC driver for PDO
|
||||
|
||||
endif
|
||||
|
||||
comment "Human language and character encoding support"
|
||||
|
@ -176,6 +176,10 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL),y)
|
||||
PHP_CONF_OPTS += --with-pdo-pgsql=$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += postgresql
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC),y)
|
||||
PHP_CONF_OPTS += --with-pdo-odbc=unixODBC,$(STAGING_DIR)/usr
|
||||
PHP_DEPENDENCIES += unixodbc
|
||||
endif
|
||||
endif
|
||||
|
||||
### Use external PCRE if it's available
|
||||
|
Loading…
Reference in New Issue
Block a user