meson: Use copy instead of an empty configuration

The configure_file target has grown a `copy` argument to avoid using an
empty configuration_data object since Meson 0.47.
This commit is contained in:
Emmanuele Bassi 2018-12-18 12:32:53 +00:00
parent 487e670b1f
commit cb1d599495

View File

@ -149,7 +149,7 @@ girepo_lib = shared_library('girepository-1.0',
# Copy to builddir for use with giscanner/dumper.py when running uninstalled
configure_file(input : 'gdump.c',
output : 'gdump.c',
configuration : configuration_data(),
copy: true,
install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0'),
install : true,
)