summaryrefslogtreecommitdiffstats
path: root/src/qt-win32.patch
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2009-12-12 00:47:23 (GMT)
committerMark Brand <mabrand@mabrand.nl>2009-12-12 00:47:23 (GMT)
commit11604c1d0c7d9fc23206542eb0d060c6e9effaf0 (patch)
treed7b218469ea91fb8129add5b958fbcffd0ef2bfd /src/qt-win32.patch
parent81888e561ff4ceffc0be16b118849ab11ea5aa3c (diff)
downloadmxe-11604c1d0c7d9fc23206542eb0d060c6e9effaf0.zip
mxe-11604c1d0c7d9fc23206542eb0d060c6e9effaf0.tar.gz
mxe-11604c1d0c7d9fc23206542eb0d060c6e9effaf0.tar.bz2
bugfix for package qt to work with the openssl-supported postgresql
When building shared Qt plugin qsqlpsql, we have explicitly link to libraries on which -lpq depends. Recently added OpenSSL support to PostgreSQL adds a few more libraries.
Diffstat (limited to 'src/qt-win32.patch')
-rw-r--r--src/qt-win32.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt-win32.patch b/src/qt-win32.patch
index e417349..0812fff 100644
--- a/src/qt-win32.patch
+++ b/src/qt-win32.patch
@@ -660,7 +660,7 @@ diff -urN a/src/plugins/sqldrivers/psql/psql.pro b/src/plugins/sqldrivers/psql/p
win32:!contains(LIBS, .*pq.* ) {
!win32-g++:LIBS *= -llibpq
- win32-g++:LIBS *= -lpq
-+ win32-g++:LIBS *= -lpq -lsecur32
++ win32-g++:LIBS *= -lpq -lssl -lcrypto -lsecur32 -lgdi32
LIBS *= -lws2_32 -ladvapi32
}