girepository/introspection: Properly check for sanitizer value

The sanitizer option is set to 'none' when not used
This commit is contained in:
Marco Trevisan (Treviño) 2024-05-09 17:47:04 +02:00
parent d544d409cb
commit c78d0ad514

View File

@ -9,7 +9,7 @@ gi_gen_shared_sources = [
gi_gen_env_variables = environment() gi_gen_env_variables = environment()
if get_option('b_sanitize') != '' if get_option('b_sanitize') != 'none'
gi_gen_env_variables.append( gi_gen_env_variables.append(
'ASAN_OPTIONS', 'verify_asan_link_order=0', separator: ',') 'ASAN_OPTIONS', 'verify_asan_link_order=0', separator: ',')
endif endif