diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2015-03-06 17:49:43 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-04-05 16:05:46 +0200 |
commit | c6ae88084cf5c694fd8e294b8b52351faeb2de7f (patch) | |
tree | bef42ec678cda09552205eed9f5a22ea0cee4060 | |
parent | f33fe4886e2a2b8254fc68aaacdcce316d31a1ed (diff) | |
download | buildroot-c6ae88084cf5c694fd8e294b8b52351faeb2de7f.tar.gz buildroot-c6ae88084cf5c694fd8e294b8b52351faeb2de7f.zip |
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>
-rw-r--r-- | package/php/Config.ext | 6 | ||||
-rw-r--r-- | package/php/php.mk | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext index 1d9c2fe68f..fafae264dc 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -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" diff --git a/package/php/php.mk b/package/php/php.mk index 74bb00ac6a..73ed494faf 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -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 |