From 7a8d92e25f6cfa45af4bde427f77472469d0cd1b Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Fri, 23 Jun 2023 12:10:10 +0200 Subject: [PATCH] freedreno/perfcntrs: Link with libfreedreno_common Header from freedreno/common is used without linking with its implementation. It worked before because all called functions were header only, which would change soon. Signed-off-by: Danylo Piliaiev Part-of: --- src/freedreno/perfcntrs/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedreno/perfcntrs/meson.build b/src/freedreno/perfcntrs/meson.build index f2e5d625459..a55a18eb534 100644 --- a/src/freedreno/perfcntrs/meson.build +++ b/src/freedreno/perfcntrs/meson.build @@ -34,6 +34,7 @@ libfreedreno_perfcntrs = static_library( include_directories : [inc_freedreno, inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], c_args : [no_override_init_args], gnu_symbol_visibility : 'hidden', + link_with : [libfreedreno_common], dependencies : idep_nir_headers, build_by_default : false, )