meson/freedreno: only build libfreedreno_common when requested

All users already `link_with` it, either directly or through
`idep_libfreedreno_common` (the latter should probably be preferred, but
I'll leave that to someone else).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41617>
This commit is contained in:
Eric Engestrom 2026-05-16 11:18:15 +02:00 committed by Marge Bot
parent 7611673679
commit dde7c7ed46

View file

@ -35,7 +35,7 @@ libfreedreno_common = static_library(
],
include_directories : [inc_freedreno, inc_include, inc_src],
c_args : [no_override_init_args],
build_by_default : true,
build_by_default : false,
dependencies: [idep_mesautil],
gnu_symbol_visibility : 'hidden',
)