]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: fix GLIB_VERSION for cross-compilation
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Jan 2023 13:32:41 +0000 (14:32 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 29 Mar 2023 07:20:04 +0000 (10:20 +0300)
commitf549ee8c258cc599024cd38126da206352d18c7b
tree0ba4be038f93f84670319bdf8f5d9467a422c54e
parent4e98327e1480399beeb57fab618f2495b8ba2d2c
configure: fix GLIB_VERSION for cross-compilation

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: Валентин <val15032008@mail.ru>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1414
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit acedc9a660f83b362a1dec4b699e85d5dd82a067)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure