diff --git a/meson.build b/meson.build index d6fbd7c2b7..59bfde7f0c 100644 --- a/meson.build +++ b/meson.build @@ -1686,7 +1686,7 @@ if have and efi_arch == 'x64' and cc.links(''' efi_cpu_family_alt = 'x86' endif -want_ukify = pymod.find_installation('python3', required: get_option('ukify'), modules : ['pefile']).found() +want_ukify = get_option('ukify').allowed() conf.set10('ENABLE_UKIFY', want_ukify) #####################################################################