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 <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23828>
This commit is contained in:
Danylo Piliaiev
2023-06-23 12:10:10 +02:00
committed by Marge Bot
parent f18afc886a
commit 7a8d92e25f
+1
View File
@@ -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,
)