diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2022-03-08 21:17:18 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2022-03-09 06:58:28 +1030 |
commit | d2f1827cdebe2eee6595cf6aeef0ff005ec636d3 (patch) | |
tree | ae16eef77386f31f2d9bc8d5a9792cb5ec9b4c17 /util/meson.build | |
parent | 1c0a9aac01435e75be6c30a833e8008654cd5f25 (diff) | |
download | cairo-d2f1827cdebe2eee6595cf6aeef0ff005ec636d3.tar.gz |
Replace deprecated malloc_hook
Diffstat (limited to 'util/meson.build')
-rw-r--r-- | util/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/meson.build b/util/meson.build index 152b23729..5cc209cc9 100644 --- a/util/meson.build +++ b/util/meson.build @@ -59,6 +59,6 @@ foreach util : cairo_utils ) endforeach -if cc.has_header_symbol('malloc.h', '__malloc_hook') and cc.has_header('execinfo.h') - libmallocstats = library('malloc-stats', 'malloc-stats.c') +if conf.get('CAIRO_HAS_DLSYM', 0) == 1 and cc.has_header('execinfo.h') + libmallocstats = library('malloc-stats', 'malloc-stats.c', dependencies : dl_dep) endif |