From 971305e86f26269d3211ff41f4931e66c6f0b716 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Tue, 7 May 2024 14:17:36 +0100 Subject: [PATCH] tests: always build securityselinuxhelper if libselinux is present MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The securityselinuxhelper build is conditionalized on the SELinux security driver feature. It is also needed, however, by viridentitytest whenever libselinux is present. Reviewed-by: Peter Krempa Signed-off-by: Daniel P. Berrangé --- tests/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/meson.build b/tests/meson.build index eda9075535..007bd912fb 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -508,7 +508,9 @@ if conf.has('WITH_SECDRIVER_SELINUX') ] endif endif +endif +if conf.has('WITH_SELINUX') mock_libs += [ { 'name': 'securityselinuxhelper' }, ] -- 2.47.2