summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 75ee373..7940f25 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project('libalabaster', 'c', version: '0.01',
compiler = meson.get_compiler('c')
-is_debug = get_option('buildtype').startswith('debug')
+is_debug = get_option('debug')
is_msvc_specifically = compiler.cmd_array()[0] == 'cl'
supports_needed_gnu_extensions = not is_msvc_specifically