diff options
author | Sune Vuorela <sune@vuorela.dk> | 2016-09-14 20:36:00 +0200 |
---|---|---|
committer | Sune Vuorela <sune@vuorela.dk> | 2016-09-28 18:29:00 +0000 |
commit | d322ea4e7d40ff258d407b58e194e4e6c8a06cd5 (patch) | |
tree | 42a1365dc671945fd18c1e4809a54c057fe80b0b /src/sql | |
parent | 87583738f960e83918da3b66e455e75c144fbf8e (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')
-rw-r--r-- | src/sql/configure.json | 1 |
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" } |