From c9c3ff456180bdb212ddc4bd326d8b0b72ac6e58 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 17 Jun 2023 14:42:13 +0800 Subject: [PATCH] fix msvc --- libs/utils/nuitka.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils/nuitka.py b/libs/utils/nuitka.py index 6f69f5c..07a2969 100644 --- a/libs/utils/nuitka.py +++ b/libs/utils/nuitka.py @@ -104,7 +104,7 @@ class CompilerHelper(Options): _add_cmd(cmd_list, '--lto=yes' if self.use_lto else '--lto=no') _add_cmd(cmd_list, '--clang' if self.use_clang else None) - _add_cmd(cmd_list, '--msvc' if self.use_msvc else None) + _add_cmd(cmd_list, '--msvc=latest' if self.use_msvc else None) _add_cmd(cmd_list, '--mingw64' if self.use_mingw else None) _add_cmd(cmd_list, '--standalone' if self.standalone else None)