On 11/1/26 01:58, Paolo Bonzini wrote:
Invoking git and creating a .h file does not need a shell script.
Embed the logic directly in meson.build.

Signed-off-by: Paolo Bonzini<[email protected]>
---
  meson.build               | 29 ++++++++++++++++++++---------
  include/qemu/version.h    |  8 ++++++++
  scripts/qemu-version.h.in |  1 +
  scripts/qemu-version.sh   | 25 -------------------------
  4 files changed, 29 insertions(+), 34 deletions(-)
  create mode 100644 scripts/qemu-version.h.in
  delete mode 100755 scripts/qemu-version.sh

Breaks MocOS builds:

https://gitlab.com/qemu-project/qemu/-/jobs/17645754424#L3655

../ui/cocoa.m:1527:50: error: expected ';' at end of declaration
 1527 |     NSString *version = @"QEMU emulator version " QEMU_FULL_VERSION;


r~

Reply via email to