diff --git a/xmake.lua b/xmake.lua index 8d3672d..320134d 100644 --- a/xmake.lua +++ b/xmake.lua @@ -10,6 +10,6 @@ target("PerfectHear") add_packages("libsdl2", "libsdl2_mixer", "imgui") - if is_os("windows") then + if is_plat("mingw") then add_ldflags("-static") end