diff mbox series

[for-8.2] Fix broken build for QEMU guest agent

Message ID 20231125152740.584224-1-sw@weilnetz.de (mailing list archive)
State New, archived
Headers show
Series [for-8.2] Fix broken build for QEMU guest agent | expand

Commit Message

Stefan Weil Nov. 25, 2023, 3:27 p.m. UTC
Meson setup failed:

    qga/meson.build:148:4: ERROR: Unknown variable "project".

Fixes commit e20d68aa ("configure, meson: use command line options [...]").

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 qga/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Konstantin Kostiuk Nov. 25, 2023, 5:37 p.m. UTC | #1
Hi Stefan,

Thanks for your patch.
PULL was sent with Marc-André patch
https://patchew.org/QEMU/20231125173011.374840-1-kkostiuk@redhat.com/

Best Regards,
Konstantin Kostiuk.


On Sat, Nov 25, 2023 at 5:29 PM Stefan Weil via <qemu-devel@nongnu.org>
wrote:

> Meson setup failed:
>
>     qga/meson.build:148:4: ERROR: Unknown variable "project".
>
> Fixes commit e20d68aa ("configure, meson: use command line options [...]").
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  qga/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/qga/meson.build b/qga/meson.build
> index 940a51d55d..ff7a8496e4 100644
> --- a/qga/meson.build
> +++ b/qga/meson.build
> @@ -146,7 +146,7 @@ if targetos == 'windows'
>        libpcre = 'libpcre2'
>      endif
>      qga_msi_version = get_option('qemu_ga_version') == '' \
> -      ? project.version() \
> +      ? meson.project_version() \
>        : get_option('qemu_ga_version')
>      qga_msi = custom_target('QGA MSI',
>                              input: files('installer/qemu-ga.wxs'),
> --
> 2.39.2
>
>
>
diff mbox series

Patch

diff --git a/qga/meson.build b/qga/meson.build
index 940a51d55d..ff7a8496e4 100644
--- a/qga/meson.build
+++ b/qga/meson.build
@@ -146,7 +146,7 @@  if targetos == 'windows'
       libpcre = 'libpcre2'
     endif
     qga_msi_version = get_option('qemu_ga_version') == '' \
-      ? project.version() \
+      ? meson.project_version() \
       : get_option('qemu_ga_version')
     qga_msi = custom_target('QGA MSI',
                             input: files('installer/qemu-ga.wxs'),