summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2010-02-19 10:48:45 (GMT)
committeraxis <qt-info@nokia.com>2010-02-19 10:48:45 (GMT)
commit1c48ec8f4876db0b4c7b86dd19ab8bb27c082786 (patch)
tree8ca2723a27ae670b3e84dfb21b6a3a28d3bbe401 /src/plugins
parent0374c15075f98b0b4efbb1c00ef3812b67fabe0f (diff)
parentade4d096fc2ea145a3d9586e3ab2a9af9c5a9a72 (diff)
downloadQt-1c48ec8f4876db0b4c7b86dd19ab8bb27c082786.zip
Qt-1c48ec8f4876db0b4c7b86dd19ab8bb27c082786.tar.gz
Qt-1c48ec8f4876db0b4c7b86dd19ab8bb27c082786.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-s60-public into merge-with-qt-master
Conflicts: qmake/generators/symbian/symmake.cpp
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/sqldrivers/psql/psql.pro11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/sqldrivers/psql/psql.pro b/src/plugins/sqldrivers/psql/psql.pro
index 29fbada..0a38ee4 100644
--- a/src/plugins/sqldrivers/psql/psql.pro
+++ b/src/plugins/sqldrivers/psql/psql.pro
@@ -4,18 +4,15 @@ HEADERS = ../../../sql/drivers/psql/qsql_psql.h
SOURCES = main.cpp \
../../../sql/drivers/psql/qsql_psql.cpp
-unix: {
+unix|win32-g++: {
!isEmpty(QT_LFLAGS_PSQL) {
- LIBS *= $$QT_LFLAGS_PSQL
+ !contains(QT_CONFIG, system-zlib): QT_LFLAGS_PSQL -= -lz
+ !static:LIBS *= $$QT_LFLAGS_PSQL
QMAKE_CXXFLAGS *= $$QT_CFLAGS_PSQL
}
!contains(LIBS, .*pq.*):LIBS *= -lpq
}
-win32:!contains(LIBS, .*pq.* ) {
- !win32-g++:LIBS *= -llibpq
- win32-g++:LIBS *= -lpq
- LIBS *= -lws2_32 -ladvapi32
-}
+win32:!win32-g++:!contains(LIBS, .*pq.* ) LIBS *= -llibpq -lws2_32 -ladvapi32
include(../qsqldriverbase.pri)