mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 07:48:04 +02:00
meson: Fix cross build with Android NDK
Android NDK does not contain execinfo.h so malloc-stats.c cannot be built.
This commit is contained in:
parent
4ea2991a40
commit
6a6ab24759
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ foreach util : cairo_utils
|
|||
)
|
||||
endforeach
|
||||
|
||||
if cc.has_header_symbol('malloc.h', '__malloc_hook')
|
||||
if cc.has_header_symbol('malloc.h', '__malloc_hook') and cc.has_header('execinfo.h')
|
||||
libmallocstats = library('malloc-stats', 'malloc-stats.c')
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue