Commit c6ae8808 authored by Bernd Kuhls's avatar Bernd Kuhls Committed by Thomas Petazzoni
Browse files

package/php: add unixodbc support



[Thomas: fix indentation.]

Signed-off-by: default avatarBernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent f33fe488
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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"
+4 −0
Original line number Diff line number Diff line
@@ -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