meson: Use build_always_stale instead of build_always
[mesa.git] / src / meson.build
index bdc6a54cc3f5901f5db6b95cf6168857b384b5b6..8d8bac6a23835b5ec3e3496ab00a09240c60fd5b 100644 (file)
@@ -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')