diff options
author | Michel Zou | 2019-02-22 18:26:23 +0100 |
---|---|---|
committer | Michel Zou | 2019-02-22 18:26:23 +0100 |
commit | ea2da1870c5d80e4c77364d198aa1fad64b8c4f0 (patch) | |
tree | 09c9102d7a602ff0d04c165cec8ece1e216705cc /0015-Fix-linking-against-shared-static-PostgreSQL.patch | |
parent | 12107bedc14b62761fd2de498659c6b19768d59c (diff) | |
download | aur-mingw-w64-qt5-base-nostatx.tar.gz |
5.12.1
Diffstat (limited to '0015-Fix-linking-against-shared-static-PostgreSQL.patch')
-rw-r--r-- | 0015-Fix-linking-against-shared-static-PostgreSQL.patch | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/0015-Fix-linking-against-shared-static-PostgreSQL.patch b/0015-Fix-linking-against-shared-static-PostgreSQL.patch index 072d1160c450..dd9d62329dea 100644 --- a/0015-Fix-linking-against-shared-static-PostgreSQL.patch +++ b/0015-Fix-linking-against-shared-static-PostgreSQL.patch @@ -1,29 +1,28 @@ -From e9810c35b4a294691ffea20dd51ba8ef2faf41ed Mon Sep 17 00:00:00 2001 +From 0c7b1782160144c9a0839f02efd365716816400d Mon Sep 17 00:00:00 2001 From: Martchus <martchus@gmx.net> Date: Sun, 18 Sep 2016 18:58:25 +0200 -Subject: [PATCH 15/33] Fix linking against shared/static PostgreSQL +Subject: [PATCH 15/34] Fix linking against shared/static PostgreSQL --- - src/plugins/sqldrivers/configure.json | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) + src/plugins/sqldrivers/configure.json | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/sqldrivers/configure.json b/src/plugins/sqldrivers/configure.json -index fac6be7301..305aac405c 100644 +index babd0465ce..b4b3bdec6b 100644 --- a/src/plugins/sqldrivers/configure.json +++ b/src/plugins/sqldrivers/configure.json -@@ -91,9 +91,10 @@ - ] +@@ -88,9 +88,9 @@ }, + "headers": "libpq-fe.h", "sources": [ - { "type": "pkgConfig", "args": "libpq" }, { "type": "psqlConfig" }, - { "type": "psqlEnv", "libs": "-llibpq -lws2_32 -ladvapi32", "condition": "config.win32" }, -+ { "type": "psqlEnv", "libs": "-lpq -lintl -lssl -lcrypto -lshell32 -lws2_32 -lsecur32", "condition": "config.win32 && !features.shared" }, -+ { "type": "psqlEnv", "libs": "-Wl,-Bdynamic -lpq -Wl,-Bstatic", "condition": "config.win32 && !features.shared" }, ++ { "type": "psqlEnv", "libs": "-lpq -lintl -lssl -lcrypto -lshell32 -lws2_32 -lsecur32 -liconv", "condition": "config.win32 && !features.shared" }, + { "type": "psqlEnv", "libs": "-lpq", "condition": "config.win32 && features.shared" }, { "type": "psqlEnv", "libs": "-lpq", "condition": "!config.win32" } ] }, -- -2.19.2 +2.20.1 |