mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
fcad56e313
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.
27 lines
983 B
Meson
27 lines
983 B
Meson
# Install glib-gettextize executable, if a UNIX-style shell is found
|
|
if have_sh
|
|
# These should not contain " quotes around the values
|
|
gettextize_conf = configuration_data()
|
|
gettextize_conf.set('PACKAGE', 'glib')
|
|
gettextize_conf.set('VERSION', meson.project_version())
|
|
gettextize_conf.set('prefix', glib_prefix)
|
|
gettextize_conf.set('datarootdir', glib_datadir)
|
|
gettextize_conf.set('datadir', glib_datadir)
|
|
configure_file(input : 'glib-gettextize.in',
|
|
install_dir : glib_bindir,
|
|
install_tag : 'bin-devel',
|
|
output : 'glib-gettextize',
|
|
configuration : gettextize_conf)
|
|
endif
|
|
|
|
if host_system != 'windows'
|
|
# Install Valgrind suppression file (except on Windows,
|
|
# as Valgrind is currently not supported on Windows)
|
|
install_data(fs.name(valgrind_suppression_file),
|
|
install_dir : get_option('datadir') / valgrind_suppression_file_install_subdir,
|
|
install_tag : 'devel',
|
|
)
|
|
endif
|
|
|
|
gen_visibility_macros = find_program('gen-visibility-macros.py')
|