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 <pkrempa@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2024-05-07 14:17:36 +01:00
parent c8c5170b74
commit 971305e86f

View File

@ -508,7 +508,9 @@ if conf.has('WITH_SECDRIVER_SELINUX')
]
endif
endif
endif
if conf.has('WITH_SELINUX')
mock_libs += [
{ 'name': 'securityselinuxhelper' },
]