mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 08:23:38 +02:00
build: Change configure_file() to fs.copyfile() when copy is set
Meson has preferred `fs.copyfile()` since 0.62. This fixes a set of Meson warnings. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
This commit is contained in:
@@ -890,10 +890,7 @@ if not meson.is_cross_build()
|
||||
'@INPUT@'])
|
||||
|
||||
# referenced by test.gresource.xml
|
||||
test_generated_txt = configure_file(input : 'test1.txt',
|
||||
output : 'test-generated.txt',
|
||||
copy : true,
|
||||
)
|
||||
test_generated_txt = fs.copyfile('test1.txt', 'test-generated.txt')
|
||||
|
||||
resources_extra_sources = [
|
||||
test_gresource,
|
||||
|
Reference in New Issue
Block a user