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>
bb10
Sune Vuorela 2016-09-14 20:36:00 +02:00
parent 87583738f9
commit d322ea4e7d
1 changed files with 1 additions and 0 deletions

View File

@ -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" }