mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 15:05:16 +00:00
[#3729] Add gssapi requirement to krb5 dependency
This commit is contained in:
@@ -167,8 +167,8 @@ if not krb5.found()
|
|||||||
krb5_config = find_program('krb5-config', required: false)
|
krb5_config = find_program('krb5-config', required: false)
|
||||||
endif
|
endif
|
||||||
if krb5_config.found()
|
if krb5_config.found()
|
||||||
cflags = run_command([krb5_config, '--cflags'], check: false)
|
cflags = run_command([krb5_config, '--cflags', 'gssapi'], check: false)
|
||||||
libs = run_command([krb5_config, '--libs'], check: false)
|
libs = run_command([krb5_config, '--libs', 'gssapi'], check: false)
|
||||||
if cflags.returncode() == 0 and libs.returncode() == 0
|
if cflags.returncode() == 0 and libs.returncode() == 0
|
||||||
krb5 = declare_dependency(
|
krb5 = declare_dependency(
|
||||||
compile_args: cflags.stdout().split(),
|
compile_args: cflags.stdout().split(),
|
||||||
|
Reference in New Issue
Block a user