2020-05-29 17:30:23 +02:00
|
|
|
From 51188881323e4563e58e6e32b4ac30478c5e56ef Mon Sep 17 00:00:00 2001
|
2017-01-23 21:37:13 +01:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 18:58:25 +0200
|
2020-04-15 11:18:19 +02:00
|
|
|
Subject: [PATCH 14/31] Fix linking against shared/static PostgreSQL
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
---
|
2019-02-02 18:18:25 +01:00
|
|
|
src/plugins/sqldrivers/configure.json | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
2017-01-23 21:37:13 +01:00
|
|
|
|
2017-06-30 22:27:38 +02:00
|
|
|
diff --git a/src/plugins/sqldrivers/configure.json b/src/plugins/sqldrivers/configure.json
|
2020-05-29 17:30:23 +02:00
|
|
|
index 7262914c64..852ba558be 100644
|
2017-06-30 22:27:38 +02:00
|
|
|
--- a/src/plugins/sqldrivers/configure.json
|
|
|
|
+++ b/src/plugins/sqldrivers/configure.json
|
2020-05-29 17:30:23 +02:00
|
|
|
@@ -90,9 +90,9 @@
|
2017-10-13 21:29:48 +02:00
|
|
|
},
|
2019-02-02 18:18:25 +01:00
|
|
|
"headers": "libpq-fe.h",
|
2017-01-23 21:37:13 +01:00
|
|
|
"sources": [
|
|
|
|
- { "type": "pkgConfig", "args": "libpq" },
|
|
|
|
{ "type": "psqlConfig" },
|
|
|
|
- { "type": "psqlEnv", "libs": "-llibpq -lws2_32 -ladvapi32", "condition": "config.win32" },
|
2020-04-15 11:18:19 +02:00
|
|
|
+ { "type": "psqlEnv", "libs": "-lpq -lpgcommon -lpgport -lintl -lssl -lcrypto -lshell32 -lws2_32 -lsecur32 -liconv", "condition": "config.win32 && !features.shared" },
|
2017-01-23 21:37:13 +01:00
|
|
|
+ { "type": "psqlEnv", "libs": "-lpq", "condition": "config.win32 && features.shared" },
|
|
|
|
{ "type": "psqlEnv", "libs": "-lpq", "condition": "!config.win32" }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
--
|
2020-05-29 17:30:23 +02:00
|
|
|
2.26.2
|
2017-01-23 21:37:13 +01:00
|
|
|
|