From 80576d927ab5583458cf4008cee6a5e0f9eb2faa Mon Sep 17 00:00:00 2001 From: Maxwell Geng <33229754+MaxwellGengYF@users.noreply.github.com> Date: Thu, 23 Mar 2023 12:39:51 +0800 Subject: Reformat arguments --- xmake/modules/core/tools/clang.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmake/modules/core/tools/clang.lua b/xmake/modules/core/tools/clang.lua index 2dc9caf8f..0c88c2302 100644 --- a/xmake/modules/core/tools/clang.lua +++ b/xmake/modules/core/tools/clang.lua @@ -179,8 +179,8 @@ function nf_runtime(self, vs_runtime) } elseif kind == "ld" or kind == "sh" then maps = { - MD = "-nostdlib -lmsvcrt", - MDd = "-nostdlib -lmsvcrtd" + MD = {"-nostdlib", "-lmsvcrt"}, + MDd = {"-nostdlib", "-lmsvcrtd"} } end return maps and maps[vs_runtime] -- cgit v1.3.1