From 800fab577155c7f6d4d12c471eea977925e87f65 Mon Sep 17 00:00:00 2001 From: Automatic Release Builder Date: Tue, 8 Feb 2022 10:30:27 +0000 Subject: [PATCH] Windows installer: don't copy compiler runtime --- build_release_windows.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build_release_windows.bat b/build_release_windows.bat index 7d1eb77..d273c99 100755 --- a/build_release_windows.bat +++ b/build_release_windows.bat @@ -71,8 +71,10 @@ cd .. REM Qt5 deployment SET QMLDIR=%WORKSPACE%/flightgear/src/GUI/qml -%QT5SDK32%\bin\windeployqt --release --list target --qmldir %QMLDIR% %WORKSPACE%/install/msvc140/bin/fgfs.exe -%QT5SDK64%\bin\windeployqt --release --list target --qmldir %QMLDIR% %WORKSPACE%/install/msvc140-64/bin/fgfs.exe + +REM Don't copy the compiler runtime libs, since it includes potentially older UCrtbase. +%QT5SDK32%\bin\windeployqt --release --list target --no-compiler-runtime --qmldir %QMLDIR% %WORKSPACE%/install/msvc140/bin/fgfs.exe +%QT5SDK64%\bin\windeployqt --release --list target --no-compiler-runtime --qmldir %QMLDIR% %WORKSPACE%/install/msvc140-64/bin/fgfs.exe REM build setup ECHO Packaging root is %WORKSPACE%