diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-02-23 15:00:37 -0800 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-02-23 15:00:37 -0800 |
commit | e123853b8b8cd23c8e21ff54470be4106abdb7e8 (patch) | |
tree | bf2fcd69a19761f51f6d7964bf2c58a4b2423b0b /meson.build | |
parent | 9d2d4a69a52266730255b8286e3314b82b1281aa (diff) | |
download | gtk+-e123853b8b8cd23c8e21ff54470be4106abdb7e8.tar.gz |
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
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 22804b5196..2ba1516d7e 100644 --- a/meson.build +++ b/meson.build @@ -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 = [ '', '------', |