Re: [PATCH] configure: fix GLIB_VERSION for cross-compilation

2023-01-07 Thread Philippe Mathieu-Daudé
On 7/1/23 14:32, Paolo Bonzini wrote: configure uses "pkg-config" directly so that GLIB_VERSION is always based on host glib version. To correctly handle cross-compilation it should use "$pkg_config" and take GLIB_VERSION from the cross-compiled glib. Reported-by: Валентин Resolves: https://g

[PATCH] configure: fix GLIB_VERSION for cross-compilation

2023-01-07 Thread Paolo Bonzini
configure uses "pkg-config" directly so that GLIB_VERSION is always based on host glib version. To correctly handle cross-compilation it should use "$pkg_config" and take GLIB_VERSION from the cross-compiled glib. Reported-by: Валентин Resolves: https://gitlab.com/qemu-project/qemu/-/issues/141