From 6ef314b4fa938310f282951888a1b51e31e4fa51 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 24 Apr 2020 12:29:42 -0700 Subject: [PATCH] meson: Use build_always_stale instead of build_always which was deprecated in 0.47. This doesn't change behavior, just shuts up a warning. Acked-by: Matt Turner Reviewed-by: Eric Engestrom Part-of: --- src/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index bdc6a54cc3f..8d8bac6a238 100644 --- a/src/meson.build +++ b/src/meson.build @@ -43,7 +43,8 @@ sha1_h = custom_target( 'git_sha1.h', output : 'git_sha1.h', command : [prog_python, git_sha1_gen_py, '--output', '@OUTPUT@'], - build_always : true, # commit sha1 can change without having touched these files + build_by_default : true, + build_always_stale : true, # commit sha1 can change without having touched these files ) subdir('gtest') -- 2.30.2