Skip to content

libide-core: only import execinfo.h with IDE_ENABLE_TRACE

psykose requested to merge psykose1/gnome-builder:execinfo into main

this is only used when tracing is enabled below, so only import it when
used.

this fixes the build against musl libc (with tracing disabled), because
musl does not implement backtrace()/execinfo.h. since this functionality
is optional, all we have to do is add the same #ifdef guard to the
include as the actual tracing.

Merge request reports

Loading