Commit 6a6ab247 authored by Xavier Claessens's avatar Xavier Claessens
Browse files

meson: Fix cross build with Android NDK

Android NDK does not contain execinfo.h so malloc-stats.c cannot be
built.
parent 4ea2991a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment