mirror of https://github.com/GNOME/gimp.git
Fix #6979 meson build fails link libexecinfo on Alpine
This commit is contained in:
parent
f2fb98cb69
commit
37593d6da3
|
@ -38,13 +38,6 @@
|
|||
#include <process.h>
|
||||
#endif
|
||||
|
||||
#if defined(G_OS_UNIX) && defined(HAVE_EXECINFO_H)
|
||||
/* For get_backtrace() */
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
#include <cairo.h>
|
||||
#include <gegl.h>
|
||||
#include <gobject/gvaluecollector.h>
|
||||
|
|
|
@ -100,12 +100,13 @@ libgimpbase_introspectable = [
|
|||
libgimpbase_headers_introspectable,
|
||||
]
|
||||
|
||||
optional_libexecinfo = cc.find_library('execinfo', required: false)
|
||||
|
||||
libgimpbase = library('gimpbase-' + gimp_api_version,
|
||||
libgimpbase_sources,
|
||||
include_directories: rootInclude,
|
||||
dependencies: [
|
||||
gexiv2, gio, math,
|
||||
gexiv2, gio, math, optional_libexecinfo
|
||||
],
|
||||
c_args: [
|
||||
'-DG_LOG_DOMAIN="LibGimpBase"',
|
||||
|
|
Loading…
Reference in New Issue