summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathieu Bridon <[email protected]>2018-08-22 14:09:49 +0200
committerEmil Velikov <[email protected]>2018-08-23 12:12:06 +0100
commit8c8fd0bb8e957430eef97f0a9ec5404d14760fcd (patch)
treee128c2b4ae37c9ffdb87fcebd427586143973995
parent48820ed8da0ad50d51a58f26e156d82b685492e2 (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r--src/gallium/targets/dri/meson.build1
-rw-r--r--src/gallium/targets/va/meson.build1
-rw-r--r--src/gallium/targets/vdpau/meson.build1
-rw-r--r--src/gallium/targets/xvmc/meson.build1
-rw-r--r--src/mesa/drivers/dri/meson.build1
5 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index e3202c99678..51940a2f350 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -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,
diff --git a/src/gallium/targets/va/meson.build b/src/gallium/targets/va/meson.build
index 57d267e5b6e..ded689b464d 100644
--- a/src/gallium/targets/va/meson.build
+++ b/src/gallium/targets/va/meson.build
@@ -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,
diff --git a/src/gallium/targets/vdpau/meson.build b/src/gallium/targets/vdpau/meson.build
index 93969d8399b..005cf642498 100644
--- a/src/gallium/targets/vdpau/meson.build
+++ b/src/gallium/targets/vdpau/meson.build
@@ -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,
diff --git a/src/gallium/targets/xvmc/meson.build b/src/gallium/targets/xvmc/meson.build
index 2bf5ea23091..0af5b6477ce 100644
--- a/src/gallium/targets/xvmc/meson.build
+++ b/src/gallium/targets/xvmc/meson.build
@@ -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,
diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers/dri/meson.build
index 943727b662a..d98c823f5fe 100644
--- a/src/mesa/drivers/dri/meson.build
+++ b/src/mesa/drivers/dri/meson.build
@@ -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,