Commit f6dad10d authored by Committed by Marge BotBrowse files
meson: Avoid duplicate symbols.
All the stubs in src/compiler/glsl/glcpp/pp_standalone_scaffolding.c are duplicate symbols. They should only be used as replacement for Mesa functions when building glcpp and glsl standalone compilers, but in fact they are getting linked with Mesa. This change fixes this by moving the standalone stubs to a libglcpp_standalone target, that's only linked with the glcpp/glsl tools. Reviewed-by: Dylan Baker <firstname.lastname@example.org> Reviewed-by: Neha Bhende <email@example.com> Tested-by: Marge Bot <mesa/mesa!4186> Part-of: <mesa/mesa!4186>
Showing with 13 additions and 4 deletions