mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#3731] Fix postgresql fallback
This commit is contained in:
@@ -3,7 +3,7 @@ postgresql = disabler()
|
||||
pg_config = find_program('pg_config', required: false)
|
||||
if pg_config.found()
|
||||
cppflags = run_command([pg_config, '--cppflags'], check: false)
|
||||
includedir = run(command[pg_config, '--includedir'], check: false)
|
||||
includedir = run_command([pg_config, '--includedir'], check: false)
|
||||
libs = run_command([pg_config, '--libs'], check: false)
|
||||
version = run_command([pg_config, '--version'], check: false)
|
||||
if cppflags.returncode() == 0 and includedir.returncode() == 0 and libs.returncode() == 0 and version.returncode() == 0
|
||||
|
Reference in New Issue
Block a user