From f91e9d3fd466041dfc474cc9be2c40dba252aedb Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 18 Mar 2022 10:39:05 +0100 Subject: [PATCH] ipa-kdb: fix make check The recent refactoring split out code into two new files which are needed for the test binary as well. Related: https://pagure.io/freeipa/issue/9083 Reviewed-By: Alexander Bokovoy --- daemons/ipa-kdb/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/daemons/ipa-kdb/Makefile.am b/daemons/ipa-kdb/Makefile.am index 05e35f09e..777c6b4bd 100644 --- a/daemons/ipa-kdb/Makefile.am +++ b/daemons/ipa-kdb/Makefile.am @@ -90,6 +90,12 @@ ipa_kdb_tests_SOURCES = \ ipa_kdb_audit_as.c \ $(NULL) +if BUILD_IPA_ISSUE_PAC +ipa_kdb_tests_SOURCES += ipa_kdb_mspac_v9.c +else +ipa_kdb_tests_SOURCES += ipa_kdb_mspac_v6.c +endif + if BUILD_IPA_CERTAUTH_PLUGIN ipa_kdb_tests_SOURCES += ipa_kdb_certauth.c endif