meson: simplify install_megadrivers.py invocation
[mesa.git] / src / gallium / targets / xvmc / meson.build
index c107104bff295da19cde8f259bcb942f3add58f5..c1f20191b4bc2e7475e50cb81d3f0569b5c15306 100644 (file)
@@ -60,8 +60,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'),
+  install_megadrivers_py.path(),
   libxvmc_gallium.full_path(),
   xvmc_drivers_path,
   xvmc_drivers,