Message ID | 1425660584-25189-3-git-send-email-bernd.kuhls@t-online.de |
---|---|
State | Accepted |
Headers | show |
Dear Bernd Kuhls, On Fri, 6 Mar 2015 17:49:43 +0100, Bernd Kuhls wrote: > > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> > --- > v2: no changes > > package/php/Config.ext | 6 ++++++ > package/php/php.mk | 4 ++++ > 2 files changed, 10 insertions(+) Applied, thanks! Thomas
diff --git a/package/php/Config.ext b/package/php/Config.ext index daf16c7..c4181fd 100644 --- a/package/php/Config.ext +++ b/package/php/Config.ext @@ -156,6 +156,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 dd52508..054fdc7 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -174,6 +174,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
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> --- v2: no changes package/php/Config.ext | 6 ++++++ package/php/php.mk | 4 ++++ 2 files changed, 10 insertions(+)