[cairo-commit] util/meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Oct 3 04:17:48 UTC 2020


 util/meson.build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a6ab2475906635fcc5ba0c73182fae73c4f7ee8
Author: Xavier Claessens <xavier.claessens at collabora.com>
Date:   Fri Oct 2 17:28:18 2020 -0400

    meson: Fix cross build with Android NDK
    
    Android NDK does not contain execinfo.h so malloc-stats.c cannot be
    built.

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
 


More information about the cairo-commit mailing list