]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: always build securityselinuxhelper if libselinux is present
authorDaniel P. Berrangé <berrange@redhat.com>
Tue, 7 May 2024 13:17:36 +0000 (14:17 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 8 May 2024 15:01:34 +0000 (16:01 +0100)
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>
tests/meson.build

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