From: Daniel P. Berrangé Date: Tue, 7 May 2024 13:17:36 +0000 (+0100) Subject: tests: always build securityselinuxhelper if libselinux is present X-Git-Tag: v10.4.0-rc1~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971305e86f26269d3211ff41f4931e66c6f0b716;p=thirdparty%2Flibvirt.git tests: always build securityselinuxhelper if libselinux is present 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é --- 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' }, ]