From: Eric Engestrom Date: Tue, 24 Sep 2019 23:35:07 +0000 (+0100) Subject: meson: use idep_nir instead of libnir in libnouveau X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0a8b240787bd6b7a193e576f13ae1c0182de61f;p=mesa.git meson: use idep_nir instead of libnir in libnouveau Signed-off-by: Eric Engestrom Reviewed-by: Dylan Baker --- diff --git a/src/gallium/drivers/nouveau/meson.build b/src/gallium/drivers/nouveau/meson.build index 2e65a81f024..e48b61b8955 100644 --- a/src/gallium/drivers/nouveau/meson.build +++ b/src/gallium/drivers/nouveau/meson.build @@ -223,13 +223,14 @@ nouveau_compiler = executable( 'nouveau_compiler', 'nouveau_compiler.c', include_directories : [inc_src, inc_include, inc_gallium, inc_gallium_aux], - dependencies : [dep_libdrm, dep_libdrm_nouveau, idep_mesautil], - link_with : [libnouveau, libgallium, libnir], + dependencies : [dep_libdrm, dep_libdrm_nouveau, idep_mesautil, idep_nir], + link_with : [libnouveau, libgallium], build_by_default : with_tools.contains('nouveau'), install : with_tools.contains('nouveau'), ) driver_nouveau = declare_dependency( compile_args : '-DGALLIUM_NOUVEAU', - link_with : [libnouveauwinsys, libnouveau, libnir], + dependencies : idep_nir, + link_with : [libnouveauwinsys, libnouveau], )