meson/amd: only build libaco when requested

Users all explicitly depend on `idep_aco`.

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

View file

@ -92,7 +92,7 @@ _libaco = static_library(
dep_llvm, dep_thread, dep_valgrind, idep_nir_headers, idep_amd_generated_headers, idep_mesautil,
],
gnu_symbol_visibility : 'hidden',
build_by_default : true,
build_by_default : false,
cpp_args : [cpp_args_aco, cpp_msvc_compat_args],
)