From 65a5c501c080190480b2b178d9cb6adfd12502eb Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 21 Apr 2020 23:51:43 +0800 Subject: improve xmake.lua --- core/src/luajit/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/src/luajit/xmake.lua') diff --git a/core/src/luajit/xmake.lua b/core/src/luajit/xmake.lua index cb204daf6..0ac45af6b 100644 --- a/core/src/luajit/xmake.lua +++ b/core/src/luajit/xmake.lua @@ -29,8 +29,10 @@ target("luajit") -- add the common source files add_files("luajit/src/*.c|ljamalg.c|luajit.c") - if is_plat("windows", "msys", "cygwin") then + if is_plat("windows") then add_files(autogendir .. "/lj_vm.obj") + elseif is_plat("msys", "cygwin") then + add_files(autogendir .. "/lj_vm.o") else add_files(autogendir .. "/*.S") end -- cgit v1.3.1