summaryrefslogtreecommitdiffstats
path: root/src/sql/configure.json
diff options
context:
space:
mode:
authorSune Vuorela <sune@vuorela.dk>2016-09-14 20:36:00 +0200
committerSune Vuorela <sune@vuorela.dk>2016-09-28 18:29:00 +0000
commitd322ea4e7d40ff258d407b58e194e4e6c8a06cd5 (patch)
tree42a1365dc671945fd18c1e4809a54c057fe80b0b /src/sql/configure.json
parent87583738f960e83918da3b66e455e75c144fbf8e (diff)
Prefer pkg-config for finding libpq
pg_config is a thing of the past, and at least debian stable offers a pkg-config file for libpq Change-Id: I582c0a78a77f0ebb0c43e31f04b1ef315786b478 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/sql/configure.json')
-rw-r--r--src/sql/configure.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sql/configure.json b/src/sql/configure.json
index 5476d419ed..96c82e84f9 100644
--- a/src/sql/configure.json
+++ b/src/sql/configure.json
@@ -69,6 +69,7 @@
"label": "PostgreSQL",
"test": "unix/psql",
"sources": [
+ { "type": "pkgConfig", "args": "libpq" },
{ "type": "psqlConfig" },
{ "type": "psqlEnv", "libs": "-llibpq -lws2_32 -ladvapi32", "condition": "config.win32" },
{ "type": "psqlEnv", "libs": "-lpq", "condition": "!config.win32" }