]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: always use vcs_tag 31771/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2024 17:33:59 +0000 (18:33 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 13 Mar 2024 17:40:57 +0000 (18:40 +0100)
commitd5dd917a02ce2ae5ae0fa2c2817bb8cc0a675cf5
treec9e57644cc4b5d4d36fd2613aff98937dc1b6c47
parent9e119797658f5476e66c1226361ba3e9631c717f
meson: always use vcs_tag

The branch with configure_file() was broken: meson doesn't know that
this file is a prerequisite for other targets, so partial rebuilds were broken.
Easy reproducer:
  git mv .git{,.no}
  touch meson build && ninja -C build src/basic/libbasic.a
  rm build/version.h
  ninja -C build src/basic/libbasic.a

Using vcs_tag() also in that case makes meson always build the file.

(Combined with the issue fixed in previous commit, I was encountering
failed builds quite often.)

Fixes 3f6ce3d4f04de0f765bb3bde0e400d0823829486.
meson.build