summaryrefslogtreecommitdiffstats
path: root/package/qt/qt.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-03-01 11:34:00 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-05 15:32:01 +0100
commit7bdbdd3c38a4ad2c8273039bb17d0cd2ec664f82 (patch)
treea495f58ba46c63e7cc0bcff5fd3ff5c927ca0650 /package/qt/qt.mk
parent0cab96376125ad88b4f28a649a54c601d1f4d772 (diff)
downloadbuildroot-novena-7bdbdd3c38a4ad2c8273039bb17d0cd2ec664f82.tar.gz
buildroot-novena-7bdbdd3c38a4ad2c8273039bb17d0cd2ec664f82.zip
qt: add option for system sqlite
Add an option to use the system sqlite library. Also drop sqlite2 stub since it's pointless. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/qt/qt.mk')
-rw-r--r--package/qt/qt.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index e8fff73c4..6974b2f1f 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -295,11 +295,16 @@ endif
ifeq ($(BR2_PACKAGE_QT_PSQL),y)
QT_CONFIGURE+= -qt-sql-psql
endif
-ifeq ($(BR2_PACKAGE_QT_SQLITE),y)
+ifeq ($(BR2_PACKAGE_QT_SQLITE_QT),y)
QT_CONFIGURE+= -qt-sql-sqlite
else
+ifeq ($(BR2_PACKAGE_QT_SQLITE_SYSTEM),y)
+QT_CONFIGURE+= -system-sqlite
+QT_DEP_LIBS+= sqlite
+else
QT_CONFIGURE+= -no-sql-sqlite
endif
+endif
ifeq ($(BR2_PACKAGE_QT_SQLITE2),y)
QT_CONFIGURE+= -qt-sql-sqlite2
endif