From 52a7c1681e0528431ae447612a22f47686083a69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thiago=20A=2E=20Corr=C3=AAa?= Date: Wed, 3 Sep 2008 01:09:29 +0000 Subject: [PATCH] Qtopia: don't build sqlite driver when SQL module is disabled. --- package/qtopia4/qtopia4.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk index b8afdaa011..72632521af 100644 --- a/package/qtopia4/qtopia4.mk +++ b/package/qtopia4/qtopia4.mk @@ -182,11 +182,17 @@ QTOPIA4_CONFIGURE+= -qt-sql-psql endif ifeq ($(BR2_PACKAGE_QTOPIA4_SQLITE),y) QTOPIA4_CONFIGURE+= -qt-sql-sqlite +else +QTOPIA4_CONFIGURE+= -no-sql-sqlite endif ifeq ($(BR2_PACKAGE_QTOPIA4_SQLITE2),y) QTOPIA4_CONFIGURE+= -qt-sql-sqlite2 endif +else # By default, no SQL driver is turned on by configure. +# but it seams sqlite isn't disabled despite what says +# configure --help +QTOPIA4_CONFIGURE+= -no-sql-sqlite endif ifeq ($(BR2_PACKAGE_QTOPIA4_XMLPATTERNS),y) -- 2.30.2