From 31715673a5b98991ef276decbd90f026559eaf4b Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 3 Mar 2025 12:45:33 -0500 Subject: build: Proper debug mode check Signed-off-by: Andrew Opalach --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-101-g0448