meson: use a feature option for shared-glapi

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20409>
This commit is contained in:
Dylan Baker
2022-12-20 15:12:47 -08:00
committed by Marge Bot
parent 98bd7cdb8c
commit 80eb78d7a4
2 changed files with 4 additions and 16 deletions

View File

@@ -241,9 +241,7 @@ option(
)
option(
'shared-glapi',
type : 'combo',
value : 'auto',
choices : ['auto', 'true', 'false', 'enabled', 'disabled'],
type : 'feature',
description : 'Whether to build a shared or static glapi. Defaults to false on Windows, true elsewhere'
)
option(