From: Dylan Baker Date: Fri, 16 Feb 2018 17:07:25 +0000 (-0800) Subject: meson: freedreno depends on nir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03ab40b1f7bbff7f1c6ba128e202bdf31352ea66;p=mesa.git meson: freedreno depends on nir This fixes a race condition in building targets that link in freedreno. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105120 Fixes: 0bbecc5a8548883f76a7 ("meson: define driver dependencies") Signed-off-by: Dylan Baker Acked-by: Mark Janes --- diff --git a/src/gallium/drivers/freedreno/meson.build b/src/gallium/drivers/freedreno/meson.build index 8094e141b4b..ba1a21c9e0e 100644 --- a/src/gallium/drivers/freedreno/meson.build +++ b/src/gallium/drivers/freedreno/meson.build @@ -230,6 +230,7 @@ libfreedreno = static_library( driver_freedreno = declare_dependency( compile_args : '-DGALLIUM_FREEDRENO', link_with : [libfreedrenowinsys, libfreedreno], + dependencies : idep_nir, ) ir3_compiler = executable(