summaryrefslogtreecommitdiffstats
path: root/package/qt
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2015-03-06 17:49:42 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-05 15:57:36 +0200
commitf33fe4886e2a2b8254fc68aaacdcce316d31a1ed (patch)
tree9700673e19ecf79f92ab4ad9c04944a580472c63 /package/qt
parentd4ae98d5108e276e5f46b35303374279f89d3f25 (diff)
downloadbuildroot-f33fe4886e2a2b8254fc68aaacdcce316d31a1ed.tar.gz
buildroot-f33fe4886e2a2b8254fc68aaacdcce316d31a1ed.zip
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>
Diffstat (limited to 'package/qt')
-rw-r--r--package/qt/Config.sql.in2
-rw-r--r--package/qt/qt.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/qt/Config.sql.in b/package/qt/Config.sql.in
index 6bf4944111..037837fd62 100644
--- a/package/qt/Config.sql.in
+++ b/package/qt/Config.sql.in
@@ -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.
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 8b5aa17033..76acbfcea4 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -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
OpenPOWER on IntegriCloud