package/qt: enable unixodbc support
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 6 Mar 2015 16:49:42 +0000 (17:49 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 5 Apr 2015 13:57:36 +0000 (15:57 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qt/Config.sql.in
package/qt/qt.mk

index 6bf4944111461184e784879ad40f7d0776c9c0bc..037837fd620fd00f713d297b6c2f20d1225345ad 100644 (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.
index 8b5aa17033d2d6d3645071c07d9f1954a5aa3630..76acbfcea476c119d5cb34ed1cb9defdfc988a96 100644 (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