From 8050f61b62a54d122705631d0ff15bf7f1ae4957 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 11 Jun 2022 06:17:31 +1000 Subject: [PATCH] nvk: link in codegen without gallium bits. Part-of: --- src/nouveau/vulkan/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/nouveau/vulkan/meson.build b/src/nouveau/vulkan/meson.build index 7b0d6aa..a095ab1 100644 --- a/src/nouveau/vulkan/meson.build +++ b/src/nouveau/vulkan/meson.build @@ -1,4 +1,5 @@ nvk_files = files( + '../../gallium/auxiliary/tgsi/tgsi_from_mesa.c', 'nvk_bo_sync.c', 'nvk_bo_sync.h', 'nvk_buffer.c', @@ -84,10 +85,12 @@ libvulkan_nouveau = shared_library( ], include_directories : [ inc_gallium, + inc_gallium_aux, inc_include, inc_src, ], - dependencies : nvk_deps, + link_with : [libnouveau_codegen], + dependencies : [nvk_deps, idep_nouveau_codegen], gnu_symbol_visibility : 'hidden', install : true, ) -- 2.7.4