From c6ae88084cf5c694fd8e294b8b52351faeb2de7f Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Fri, 6 Mar 2015 17:49:43 +0100 Subject: package/php: add unixodbc support [Thomas: fix indentation.] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/php/php.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/php/php.mk') 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 -- cgit v1.2.3