diff options
author | Michel Zou | 2018-05-02 20:25:59 +0200 |
---|---|---|
committer | Michel Zou | 2018-05-02 20:25:59 +0200 |
commit | 4d08d8d43697ea96da9cb31f8d1af26ecae0704d (patch) | |
tree | cc2bddc956408a1808eb3bd8941d27e96c67246b /0015-Fix-linking-against-shared-static-PostgreSQL.patch | |
download | aur-4d08d8d43697ea96da9cb31f8d1af26ecae0704d.tar.gz |
import
Diffstat (limited to '0015-Fix-linking-against-shared-static-PostgreSQL.patch')
-rw-r--r-- | 0015-Fix-linking-against-shared-static-PostgreSQL.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0015-Fix-linking-against-shared-static-PostgreSQL.patch b/0015-Fix-linking-against-shared-static-PostgreSQL.patch new file mode 100644 index 000000000000..c66730e9dbf2 --- /dev/null +++ b/0015-Fix-linking-against-shared-static-PostgreSQL.patch @@ -0,0 +1,29 @@ +From 4900e0717b3f5562150d1ccbd5aaf64c0b4e5359 Mon Sep 17 00:00:00 2001 +From: Martchus <martchus@gmx.net> +Date: Sun, 18 Sep 2016 18:58:25 +0200 +Subject: [PATCH 15/32] Fix linking against shared/static PostgreSQL + +--- + src/plugins/sqldrivers/configure.json | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/plugins/sqldrivers/configure.json b/src/plugins/sqldrivers/configure.json +index 4619db4a54..ef0d45f6cc 100644 +--- a/src/plugins/sqldrivers/configure.json ++++ b/src/plugins/sqldrivers/configure.json +@@ -91,9 +91,10 @@ + ] + }, + "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", "condition": "config.win32 && features.shared" }, + { "type": "psqlEnv", "libs": "-lpq", "condition": "!config.win32" } + ] + }, +-- +2.16.1 + |