]> xenbits.xensource.com Git - qemu-xen.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)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 11 Jan 2023 08:59:38 +0000 (09:59 +0100)
commitacedc9a660f83b362a1dec4b699e85d5dd82a067
treecfc1a9c188e82856b8c50eb0f2f601c2dfa7d189
parentaa96ab7c9df59c615ca82b49c9062819e0a1c287
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>
configure