build: Avoid a Meson deprecation warning

Using an empty `configuration_data` object to copy a configuration file
is deprecated since Meson 0.47 (released July 2018); the equivalent
behaviour is available by using `copy: true`.
This commit is contained in:
Emmanuele Bassi 2019-01-08 14:46:46 +00:00
parent b6d8d3975e
commit e458ea2f3d
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ project('gtk+', 'c',
# https://github.com/mesonbuild/meson/issues/2289
'c_std=gnu99',
],
meson_version : '>= 0.43.0',
meson_version : '>= 0.48.0',
license: 'LGPLv2.1+')
glib_major_req = 2

View File

@ -8,7 +8,7 @@ if bash.found()
foreach t : ['simplify', 'settings']
configure_file(output: t,
input: '@0@.in'.format(t),
configuration: configuration_data(),
copy: true,
install: get_option('install-tests'),
install_dir: testexecdir)
test(t, bash,