changeset 584:407cf0b9f8fc

add missing "-lsecur32" to the PostgreSQL support of package qt (by Mark Brand)
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 08 Dec 2009 00:56:35 +0100
parents 0f2e4e754420
children fa1a90c3f3f8 226e462a8a73
files src/qt-win32.patch
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt-win32.patch	Tue Dec 08 00:55:25 2009 +0100
+++ b/src/qt-win32.patch	Tue Dec 08 00:56:35 2009 +0100
@@ -652,6 +652,18 @@
  }
  
  QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/imageformats
+diff -urN a/src/plugins/sqldrivers/psql/psql.pro b/src/plugins/sqldrivers/psql/psql.pro
+--- a/src/plugins/sqldrivers/psql/psql.pro	2009-11-27 02:27:53.000000000 +0100
++++ b/src/plugins/sqldrivers/psql/psql.pro	2009-12-07 13:48:22.000000000 +0100
+@@ -14,7 +14,7 @@
+ 
+ win32:!contains(LIBS, .*pq.* ) {
+     !win32-g++:LIBS    *= -llibpq       
+-    win32-g++:LIBS *= -lpq	
++    win32-g++:LIBS *= -lpq -lsecur32
+     LIBS    *= -lws2_32 -ladvapi32
+ }
+ 
 diff -urN a/src/plugins/sqldrivers/tds/main.cpp b/src/plugins/sqldrivers/tds/main.cpp
 --- a/src/plugins/sqldrivers/tds/main.cpp	2009-11-27 02:27:53.000000000 +0100
 +++ b/src/plugins/sqldrivers/tds/main.cpp	2009-12-05 20:26:31.000000000 +0100