From e96124bd658d172e07ef69f64acbc1472ba45a3d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Fri, 27 Sep 2019 09:26:40 +0200 Subject: [PATCH] aco: Link ACO with amd/common. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit We'd like to use some functions, for example some ac_shader_util functions in ACO, so we need to link ACO to AC. Signed-off-by: Timur Kristóf Reviewed-by: Daniel Schürmann --- src/amd/compiler/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/amd/compiler/meson.build b/src/amd/compiler/meson.build index f4c8b57fc94..4b22b82eedd 100644 --- a/src/amd/compiler/meson.build +++ b/src/amd/compiler/meson.build @@ -87,6 +87,9 @@ _libaco = static_library( include_directories : [ inc_common, inc_compiler, inc_mesa, inc_mapi, inc_amd, inc_amd_common, inc_amd_common_llvm, ], + link_with : [ + libamd_common + ], dependencies : [ dep_llvm, dep_thread, dep_elf, dep_libdrm_amdgpu, dep_valgrind, idep_nir_headers, idep_amdgfxregs_h, -- 2.30.2