]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
qga-win: choose the right libpcre version to include in MSI package
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Tue, 13 Dec 2022 15:13:43 +0000 (17:13 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Tue, 20 Dec 2022 13:54:42 +0000 (15:54 +0200)
commit9ca180bce1f9dad86b8d455a0c5c252d4c54eb92
tree41e929eec17e9a982eb5e30a72d4cd7c05aff796
parent8e86851bd6b9b67fb5f6896cb85ff20c7d9bbbaa
qga-win: choose the right libpcre version to include in MSI package

According to GLib changelog [1], since version 2.73.2 GLib is using
libpcre2 instead of libpcre.  As a result, qemu-ga MSI installation
fails due to missing DLL when linked with the newer GLib.

This commit makes wixl to put the right libpcre version into the MSI
bundle: either libpcre-1.dll or libpcre2-8-0.dll, depending on the
present version of GLib.

[1] https://gitlab.gnome.org/GNOME/glib/-/releases#2.73.2

Previous version:
https://lists.nongnu.org/archive/html/qemu-trivial/2022-11/msg00237.html

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Tested-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/installer/qemu-ga.wxs
qga/meson.build