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 /package/php/php.mk | |
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>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r-- | package/php/php.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 |