2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#3731] Fix postgresql fallback

This commit is contained in:
Andrei Pavel
2025-03-18 11:02:44 +02:00
parent 62a61f4d69
commit 2bef7c5c63

View File

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