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
parent
87583738f9
commit
d322ea4e7d
|
|
@ -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" }
|
||||
|
|
|
|||
Loading…
Reference in New Issue