summaryrefslogtreecommitdiffstats
path: root/src/sql/drivers/psql
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2010-07-07 10:05:37 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-07 10:05:37 (GMT)
commit484c05ef374ef1c1043836b074693838d6b30adb (patch)
tree0f88ee8d5bca05a288c4218e12059ebd60941c86 /src/sql/drivers/psql
parentd7557de99b38031906c17c54496cb76a13dec5f7 (diff)
downloadQt-484c05ef374ef1c1043836b074693838d6b30adb.zip
Qt-484c05ef374ef1c1043836b074693838d6b30adb.tar.gz
Qt-484c05ef374ef1c1043836b074693838d6b30adb.tar.bz2
Simplify *= to += after contains() test
Merge-request: 715 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/sql/drivers/psql')
-rw-r--r--src/sql/drivers/psql/qsql_psql.pri4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/drivers/psql/qsql_psql.pri b/src/sql/drivers/psql/qsql_psql.pri
index c282d57..97db4be 100644
--- a/src/sql/drivers/psql/qsql_psql.pri
+++ b/src/sql/drivers/psql/qsql_psql.pri
@@ -7,7 +7,7 @@ unix|win32-g++* {
LIBS *= $$QT_LFLAGS_PSQL
QMAKE_CXXFLAGS *= $$QT_CFLAGS_PSQL
}
- !contains(LIBS, .*pq.*):LIBS *= -lpq
+ !contains(LIBS, .*pq.*):LIBS += -lpq
} else {
- !contains(LIBS, .*pq.*):LIBS *= -llibpq -lws2_32 -ladvapi32
+ !contains(LIBS, .*pq.*):LIBS += -llibpq -lws2_32 -ladvapi32
}