package/qt: enable unixodbc support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2015-03-06 17:49:42 +01:00 committed by Thomas Petazzoni
parent d4ae98d510
commit f33fe4886e
2 changed files with 2 additions and 1 deletions

View file

@ -23,7 +23,7 @@ config BR2_PACKAGE_QT_IBASE
config BR2_PACKAGE_QT_ODBC
bool "ODBC Driver"
depends on BROKEN # libodbc not in BR
select BR2_PACKAGE_UNIXODBC
help
Build ODBC driver
If unsure, say n.

View file

@ -345,6 +345,7 @@ QT_DEPENDENCIES += mysql
endif
ifeq ($(BR2_PACKAGE_QT_ODBC),y)
QT_CONFIGURE_OPTS += -qt-sql-odbc
QT_DEPENDENCIES += unixodbc
endif
ifeq ($(BR2_PACKAGE_QT_PSQL),y)
QT_CONFIGURE_OPTS += -qt-sql-psql -psql_config $(STAGING_DIR)/usr/bin/pg_config