meson: Run the install script with Python 3

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>
This commit is contained in:
Mathieu Bridon 2018-08-22 14:09:49 +02:00 committed by Emil Velikov
parent 48820ed8da
commit 8c8fd0bb8e
5 changed files with 5 additions and 0 deletions

View file

@ -84,6 +84,7 @@ foreach d : [[with_gallium_pl111, 'pl111_dri.so'],
endforeach
meson.add_install_script(
prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libgallium_dri.full_path(),
dri_drivers_path,

View file

@ -62,6 +62,7 @@ foreach d : [[with_gallium_r600, 'r600'],
endforeach
meson.add_install_script(
prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libva_gallium.full_path(),
va_drivers_path,

View file

@ -65,6 +65,7 @@ foreach d : [[with_gallium_r300, 'r300'],
endforeach
meson.add_install_script(
prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libvdpau_gallium.full_path(),
vdpau_drivers_path,

View file

@ -56,6 +56,7 @@ foreach d : [[with_gallium_r600, 'r600'], [with_gallium_nouveau, 'nouveau']]
endforeach
meson.add_install_script(
prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libxvmc_gallium.full_path(),
xvmc_drivers_path,

View file

@ -57,6 +57,7 @@ if dri_drivers != []
)
meson.add_install_script(
prog_python.path(),
join_paths(meson.source_root(), 'bin/install_megadrivers.py'),
libmesa_dri_drivers.full_path(),
dri_drivers_path,