The script was being run directly as an executable, and it has a
Python 2 shebang.
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
endforeach
meson.add_install_script(
+ prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libgallium_dri.full_path(),
dri_drivers_path,
endforeach
meson.add_install_script(
+ prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libva_gallium.full_path(),
va_drivers_path,
endforeach
meson.add_install_script(
+ prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libvdpau_gallium.full_path(),
vdpau_drivers_path,
endforeach
meson.add_install_script(
+ prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libxvmc_gallium.full_path(),
xvmc_drivers_path,
)
meson.add_install_script(
+ prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libmesa_dri_drivers.full_path(),
dri_drivers_path,