mirror of https://git.wownero.com/dsc/mxe.git
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.
This commit is contained in:
parent
81888e561f
commit
11604c1d0c
|
@ -660,7 +660,7 @@ diff -urN a/src/plugins/sqldrivers/psql/psql.pro b/src/plugins/sqldrivers/psql/p
|
||||||
win32:!contains(LIBS, .*pq.* ) {
|
win32:!contains(LIBS, .*pq.* ) {
|
||||||
!win32-g++:LIBS *= -llibpq
|
!win32-g++:LIBS *= -llibpq
|
||||||
- win32-g++:LIBS *= -lpq
|
- win32-g++:LIBS *= -lpq
|
||||||
+ win32-g++:LIBS *= -lpq -lsecur32
|
+ win32-g++:LIBS *= -lpq -lssl -lcrypto -lsecur32 -lgdi32
|
||||||
LIBS *= -lws2_32 -ladvapi32
|
LIBS *= -lws2_32 -ladvapi32
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue