summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-03-03 12:45:33 -0500
committerAndrew Opalach <andrew@akon.city> 2025-03-03 12:45:33 -0500
commit31715673a5b98991ef276decbd90f026559eaf4b (patch)
tree7ec25bf0bb62a44cdf79f044a2ec0fc5a4d29216
parent9d5ce056f630e15eb5e184a88f4f694a352f458d (diff)
downloadlibalabaster-31715673a5b98991ef276decbd90f026559eaf4b.tar.gz
libalabaster-31715673a5b98991ef276decbd90f026559eaf4b.tar.bz2
libalabaster-31715673a5b98991ef276decbd90f026559eaf4b.zip
build: Proper debug mode check
Signed-off-by: Andrew Opalach <andrew@akon.city>
-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