diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2020-10-02 17:28:18 -0400 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.com> | 2020-10-02 17:29:07 -0400 |
commit | 6a6ab2475906635fcc5ba0c73182fae73c4f7ee8 (patch) | |
tree | 25e88c279e3635adc929612f8318a3730fdbad18 /util | |
parent | 4ea2991a40d547d3c7800f862206741625a84417 (diff) | |
download | cairo-6a6ab2475906635fcc5ba0c73182fae73c4f7ee8.tar.gz |
meson: Fix cross build with Android NDK
Android NDK does not contain execinfo.h so malloc-stats.c cannot be
built.
Diffstat (limited to 'util')
-rw-r--r-- | util/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/meson.build b/util/meson.build index 6982ad758..d96706c36 100644 --- a/util/meson.build +++ b/util/meson.build @@ -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 |