From b8535fff6f7da13c5ae72ad544554f8073f05b60 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Thu, 16 Oct 2025 12:40:53 +0800 Subject: [PATCH] [feat] switch to /MT static runtime to improve Windows compatibility --- thirdparty/minirtc | 2 +- xmake.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/thirdparty/minirtc b/thirdparty/minirtc index 0b0416b..1f7e1c6 160000 --- a/thirdparty/minirtc +++ b/thirdparty/minirtc @@ -1 +1 @@ -Subproject commit 0b0416bf1b6dc37bc0aa78c5a18848a3da2504ac +Subproject commit 1f7e1c69682a211140399511b70f3ec3897f8a1c diff --git a/xmake.lua b/xmake.lua index 0a39321..7ff7c4c 100644 --- a/xmake.lua +++ b/xmake.lua @@ -26,6 +26,7 @@ if is_os("windows") then "SDL3-static", "gdi32", "winmm", "setupapi", "version", "Imm32", "iphlpapi") add_cxflags("/WX") + set_runtimes("MT") elseif is_os("linux") then add_links("pulse-simple", "pulse") add_requires("libyuv")