summaryrefslogtreecommitdiff
path: root/src/sql/drivers/sqlite/qsql_sqlite.pri
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2013-01-27 14:03:16 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-29 16:49:03 +0100
commit241e28ed640997ba5339e6cf48b54ffc243b0500 (patch)
tree61338fbf54b8f8d00fb9bcdffe010eaad2aa5194 /src/sql/drivers/sqlite/qsql_sqlite.pri
parentba4882c754b0b689d8f9f14048f6096f4d73ced7 (diff)
downloadqt4-tools-241e28ed640997ba5339e6cf48b54ffc243b0500.tar.gz
don't prematurely reduce LIBS when adding sql link lists
It's possible that different database libraries share dependencies. We need to keep their link lists intact here so that QtSql's .prl and .pc files will have them in the right order. Particularly important when building the drivers into QtSql and using static linking. Change-Id: Id371b127099f2790fe7cccd0c7059607600f447d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> (cherry picked from qt5/qtbase commit 9ef48277f959ff759bd9fba36c907ef5ed67f5b1)
Diffstat (limited to 'src/sql/drivers/sqlite/qsql_sqlite.pri')
-rw-r--r--src/sql/drivers/sqlite/qsql_sqlite.pri2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sql/drivers/sqlite/qsql_sqlite.pri b/src/sql/drivers/sqlite/qsql_sqlite.pri
index 78a4e49979..fb11cc8f0f 100644
--- a/src/sql/drivers/sqlite/qsql_sqlite.pri
+++ b/src/sql/drivers/sqlite/qsql_sqlite.pri
@@ -6,6 +6,6 @@ symbian:include($$QT_SOURCE_TREE/src/plugins/sqldrivers/sqlite_symbian/sqlite_sy
!system-sqlite:!contains(LIBS, .*sqlite3.*) {
include($$PWD/../../../3rdparty/sqlite.pri)
} else {
- LIBS *= $$QT_LFLAGS_SQLITE
+ LIBS += $$QT_LFLAGS_SQLITE
QMAKE_CXXFLAGS *= $$QT_CFLAGS_SQLITE
}