From d322ea4e7d40ff258d407b58e194e4e6c8a06cd5 Mon Sep 17 00:00:00 2001 From: Sune Vuorela Date: Wed, 14 Sep 2016 20:36:00 +0200 Subject: 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 --- src/sql/configure.json | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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" } -- cgit v1.2.3