mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
meson: Add glib_valgrind_suppressions variable to glib pkg-config file
Various projects are running tests under valgrind, and they are using the GLib suppresions to avoid false-positive results. While this is stored in a well-known path for some years, and easy to figure out from the GLib prefix, it's better to expose it through a proper pkgconfig variable so that it's easy to get it from any build system.
This commit is contained in:
@@ -17,8 +17,8 @@ endif
|
||||
if host_system != 'windows'
|
||||
# Install Valgrind suppression file (except on Windows,
|
||||
# as Valgrind is currently not supported on Windows)
|
||||
install_data('glib.supp',
|
||||
install_dir : get_option('datadir') / 'glib-2.0' / 'valgrind',
|
||||
install_data(fs.name(valgrind_suppression_file),
|
||||
install_dir : get_option('datadir') / valgrind_suppression_file_install_subdir,
|
||||
install_tag : 'devel',
|
||||
)
|
||||
endif
|
||||
|
Reference in New Issue
Block a user