summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eina/eina_log.c2
-rw-r--r--src/lib/eina/meson.build1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/eina/eina_log.c b/src/lib/eina/eina_log.c
index 81be34a1b2..7c66ee0b53 100644
--- a/src/lib/eina/eina_log.c
+++ b/src/lib/eina/eina_log.c
@@ -127,7 +127,7 @@ static int _abort_level_on_critical = EINA_LOG_LEVEL_CRITICAL;
127# ifndef EINA_LOG_BACKTRACE_ENABLE 127# ifndef EINA_LOG_BACKTRACE_ENABLE
128static int _backtrace_level = -1; 128static int _backtrace_level = -1;
129# else 129# else
130static int _backtrace_level = 1; 130static int _backtrace_level = EINA_LOG_LEVEL_ERR;
131# endif 131# endif
132#endif 132#endif
133 133
diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index d3d30fcf43..003dc6b3b4 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -357,6 +357,7 @@ unwind = dependency('libunwind-generic', required: false)
357if unwind.found() 357if unwind.found()
358 config_h.set('HAVE_UNWIND', 1) 358 config_h.set('HAVE_UNWIND', 1)
359 eina_deps += unwind 359 eina_deps += unwind
360 config_h.set('EINA_LOG_BACKTRACE_ENABLE', 1)
360endif 361endif
361 362
362#for the case that the iconv library is not part of libc but rather libiconv or smth. like that 363#for the case that the iconv library is not part of libc but rather libiconv or smth. like that