On Tue, Aug 3, 2021 at 8:36 AM Michael Roth wrote: > libstdc++ is required for the qga-vss.dll that provides fsfreeze > functionality. Currently it is not provided by the MSI installer, > resulting in fsfreeze being disabled in guest environments where it has > not been installed by other means. > > In the future this would be better handled via gcc-cpp ComponentGroup > provided by msitools, but that would be better handled with a general > rework of DLL dependency handling in the installer build. Keep it > simple for now to fix this regression. > > Tested with Fedora 34 mingw build environment. > > Cc: Gerd Hoffmann > Cc: Kostiantyn Kostiuk > Cc: Marc-André Lureau > Cc: Philippe Mathieu-Daudé > Signed-off-by: Michael Roth > Reviewed-by: Marc-André Lureau --- > qga/installer/qemu-ga.wxs | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/qga/installer/qemu-ga.wxs b/qga/installer/qemu-ga.wxs > index ce7b25b5e1..0950e8c6be 100644 > --- a/qga/installer/qemu-ga.wxs > +++ b/qga/installer/qemu-ga.wxs > @@ -84,6 +84,9 @@ > Remove="uninstall" Name="QEMU-GA" Wait="yes" /> > > > + Guid="{55E737B5-9127-4A11-9FC3-A29367714574}"> > + Source="$(var.Mingw_bin)/libstdc++-6.dll" KeyPath="yes" DiskId="1"/> > + > Guid="{CB19C453-FABB-4BB1-ABAB-6B74F687BFBB}"> > Source="$(env.BUILD_DIR)/qga/vss-win32/qga-vss.dll" KeyPath="yes" > DiskId="1"/> > > @@ -164,6 +167,7 @@ > > > > + > > > > -- > 2.25.1 > >