]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
meson: Don't use 'required: true'
authorAndrea Bolognani <abologna@redhat.com>
Thu, 27 May 2021 17:04:10 +0000 (19:04 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 1 Jun 2021 12:30:39 +0000 (14:30 +0200)
It's the default.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
meson.build

index 40244e5edec609752f3ba1687bcebfbf3bf450c1..a29e53af773fb413575c7b18102df2105ee86a9a 100644 (file)
@@ -804,7 +804,7 @@ if host_machine.system() == 'freebsd'
 endif
 
 foreach name : required_programs
-  prog = find_program(name, required: true, dirs: libvirt_sbin_path)
+  prog = find_program(name, dirs: libvirt_sbin_path)
   varname = name.underscorify()
   conf.set_quoted(varname.to_upper(), prog.path())
   conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog.path())
@@ -812,7 +812,7 @@ foreach name : required_programs
 endforeach
 
 foreach item : required_programs_groups
-  prog = find_program(item.get('prog'), required: true, dirs: libvirt_sbin_path)
+  prog = find_program(item.get('prog'), dirs: libvirt_sbin_path)
   varname = item.get('name').underscorify()
   conf.set_quoted(varname.to_upper(), prog.path())
   set_variable('@0@_prog'.format(varname), prog)
@@ -1219,7 +1219,7 @@ if selinux_dep.found()
   conf.set('WITH_SELINUX', 1)
 endif
 
-thread_dep = dependency('threads', required: true)
+thread_dep = dependency('threads')
 pthread_sigmask_code = '''
   #include <sys/types.h>
   #include <signal.h>