build_test_depends is supposed to be an array, not a custom target. In
case we go through this path, we have an error with following lines:
exe_depends = build_test_depends
if 'depends' in setup
exe_depends += setup['depends']
endif
where meson complains that custom target has no += operator.
Signed-off-by: Pierrick Bouvier <[email protected]>
---
tests/tcg/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/tcg/meson.build b/tests/tcg/meson.build
index 243cdb5fc8c..d41a228fb3d 100644
--- a/tests/tcg/meson.build
+++ b/tests/tcg/meson.build
@@ -263,8 +263,8 @@ foreach target, plan: tcg_tests
endif
if not has_cc and has_docker
- build_test_depends = image_targets[cc_dockerfile]
- build_test_depend_files = dockerfile
+ build_test_depends += image_targets[cc_dockerfile]
+ build_test_depend_files += dockerfile
mount = meson.project_source_root()
mount = mount + ':' + mount
here = meson.project_build_root()
--
2.47.3