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

[#3729] Add gssapi requirement to krb5 dependency

This commit is contained in:
Andrei Pavel
2025-02-10 16:03:42 +02:00
parent 212af6b8c8
commit a0eeff4e8f

View File

@@ -167,8 +167,8 @@ if not krb5.found()
krb5_config = find_program('krb5-config', required: false)
endif
if krb5_config.found()
cflags = run_command([krb5_config, '--cflags'], check: false)
libs = run_command([krb5_config, '--libs'], check: false)
cflags = run_command([krb5_config, '--cflags', 'gssapi'], check: false)
libs = run_command([krb5_config, '--libs', 'gssapi'], check: false)
if cflags.returncode() == 0 and libs.returncode() == 0
krb5 = declare_dependency(
compile_args: cflags.stdout().split(),