From 52a7c1681e0528431ae447612a22f47686083a69 Mon Sep 17 00:00:00 2001 From: "Thiago A. CorrĂȘa" Date: Wed, 3 Sep 2008 01:09:29 +0000 Subject: Qtopia: don't build sqlite driver when SQL module is disabled. --- package/qtopia4/qtopia4.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'package/qtopia4') diff --git a/package/qtopia4/qtopia4.mk b/package/qtopia4/qtopia4.mk index b8afdaa01..72632521a 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) -- cgit v1.2.3