aco: Link ACO with amd/common.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 27 Sep 2019 07:26:40 +0000 (09:26 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Thu, 10 Oct 2019 07:57:52 +0000 (09:57 +0200)
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 <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/meson.build

index f4c8b57fc94158ddc561affff2c0405383a7f14e..4b22b82eedd9b11f4499175bc7b422dcacc152be 100644 (file)
@@ -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,