build: Install Valgrind suppressions files

This is so that other programs linking to GTK can use GTK's suppressions
files when performing their own Valgrind analysis.

Closes: #138
This commit is contained in:
Philip Chimento 2020-02-23 15:00:37 -08:00
parent 9d2d4a69a5
commit e123853b8b

View File

@ -794,6 +794,13 @@ meson.add_install_script('build-aux/meson/post-install.py',
gtk_libdir,
gtk_datadir)
if host_machine.system() != 'windows'
# Install Valgrind suppression files (except on Windows,
# as Valgrind is currently not supported on Windows)
install_data('gtk.supp', 'gtk64.supp',
install_dir : join_paths(gtk_datadir, 'gtk-4.0', 'valgrind'))
endif
summary = [
'',
'------',