summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/psql/psql.pro
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-02-18 15:19:46 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-02-18 15:19:46 (GMT)
commite09de4df3ab7f57c107a1b14b80dec5728292b05 (patch)
tree3be262311cfbaabcf03e1ade105e7d65fb591d44 /src/plugins/sqldrivers/psql/psql.pro
parent64158ff163a53ff97d8ae211b0bddaae346f0f7c (diff)
parentc18beac8163634b48bbf1e7280923e96f5ef0a51 (diff)
downloadQt-e09de4df3ab7f57c107a1b14b80dec5728292b05.zip
Qt-e09de4df3ab7f57c107a1b14b80dec5728292b05.tar.gz
Qt-e09de4df3ab7f57c107a1b14b80dec5728292b05.tar.bz2
Merge remote branch 'qt/master' into staging-2-master
Conflicts: tools/assistant/tools/assistant/helpviewer_qtb.h tools/assistant/tools/assistant/helpviewer_qwv.cpp tools/assistant/tools/assistant/helpviewer_qwv.h
Diffstat (limited to 'src/plugins/sqldrivers/psql/psql.pro')
-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)