From e1d766288c4cc7d9ec1b40c92d7160ac11cdaea8 Mon Sep 17 00:00:00 2001 From: Saikat <72664192+Saikatsaha1996@users.noreply.github.com> Date: Sat, 22 Apr 2023 09:45:55 +0530 Subject: [PATCH] Update meson.build Installation fix --- src/gallium/targets/dri/meson.build | 34 ++++++++++++++--------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index d0a9b91b..d5c16d71 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -121,23 +121,23 @@ foreach d : [[with_gallium_kmsro, [ endif endforeach -if meson.version().version_compare('>= 0.58') - # This only works on Unix-like oses, which is probably fine for dri - prog_ln = find_program('ln', required : false) - if prog_ln.found() - devenv.set('LIBGL_DRIVERS_PATH', meson.current_build_dir()) - - foreach d : gallium_dri_drivers - custom_target( - 'devenv_@0@'.format(d), - input : libgallium_dri, - output : d, - command : [prog_ln, '-f', '@INPUT@', '@OUTPUT@'], - build_by_default : true, - ) - endforeach - endif -endif + + + + + + + + + + + + + + + + + meson.add_install_script( install_megadrivers_py.path(),