Module: Mesa
Branch: main
Commit: e44773b6d643d24273cf07945a52287a148c0159
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e44773b6d643d24273cf07945a52287a148c0159

Author: Yonggang Luo <[email protected]>
Date:   Sat Jun  3 12:17:10 2023 +0800

meson: Use consistence disabled/enabled comment for shared-glapi option

Reviewed-by: Eric Engestrom <[email protected]>
Signed-off-by: Yonggang Luo <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23793>

---

 meson.build       | 2 +-
 meson_options.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 14660219a79..f9b0438958c 100644
--- a/meson.build
+++ b/meson.build
@@ -98,7 +98,7 @@ if gbm_backends_path == ''
   gbm_backends_path = join_paths(get_option('prefix'), get_option('libdir'), 
'gbm')
 endif
 
-# Default shared glapi off for windows, on elsewhere.
+# Default shared glapi disabled for windows, enabled elsewhere.
 with_shared_glapi = get_option('shared-glapi') \
   .disable_auto_if(host_machine.system() == 'windows') \
   .allowed()
diff --git a/meson_options.txt b/meson_options.txt
index 34a55ad7091..044ab402a36 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -295,7 +295,7 @@ option(
   type : 'feature',
   deprecated: {'true': 'enabled', 'false': 'disabled'},
   description : 'Whether to build a shared or static glapi. Defaults to ' +
-                'false on Windows, true elsewhere'
+                'disabled on Windows, enabled elsewhere'
 )
 
 option(

Reply via email to