build: Specify all inputs to concat-files-helper.py

Since Meson 0.52, a list of inputs is correctly supported, so our
workaround can be removed.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2022-05-12 11:17:51 +01:00
parent 848d7718b6
commit 768c87697e

View File

@ -147,16 +147,11 @@ if get_option('gtk_doc')
configuration: version_conf configuration: version_conf
) )
# FIXME: configure_file() does not support more than one file in input
# argument. If input argument is omitted then meson checks that all items in
# the command array are strings. But if we have an input then extra files
# can be passed in command array.
# See https://github.com/mesonbuild/meson/issues/5893
concat_files_helper = find_program('concat-files-helper.py') concat_files_helper = find_program('concat-files-helper.py')
configure_file( configure_file(
output : 'gio-sections.txt', output : 'gio-sections.txt',
input : sections_files[0], input : sections_files,
command : [concat_files_helper, '@OUTPUT@'] + sections_files, command : [concat_files_helper, '@OUTPUT@', '@INPUT@'],
) )
configure_file( configure_file(