meson: allow debug-threads to be disabled in debug

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D11756
This commit is contained in:
Boris Faure 2020-04-25 13:03:30 +00:00 committed by Marcel Hollerbach
parent 55c2ffbe42
commit 96c176d866
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ if cc.has_header_symbol(pthread_np_header_file, 'pthread_attr_setaffinity_np', a
eina_config.set('EINA_HAVE_PTHREAD_AFFINITY', '1')
endif
if debug_threads or get_option('debug-threads')
if debug_threads and get_option('debug-threads')
if cc.has_header_symbol('execinfo.h', 'backtrace')
eina_config.set('EINA_HAVE_DEBUG_THREADS', '1')
endif