summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authoractboy168 <actboy168@gmail.com>2021-12-15 13:39:19 +0800
committerGitHub <noreply@github.com>2021-12-15 13:39:19 +0800
commit2759c9afa5c76d1e1408176c6226f62c09494f54 (patch)
treef466454fda777b993fea8d08ebb1c4b69ba65f1f /make
parent5ba74531b6b210960bcde45a958671712f8cb4cb (diff)
downloadlua-language-server-2759c9afa5c76d1e1408176c6226f62c09494f54.zip
Update copy_vcrt.lua
Diffstat (limited to 'make')
-rw-r--r--make/copy_vcrt.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/make/copy_vcrt.lua b/make/copy_vcrt.lua
index b1eb3cf5..bd08a9fa 100644
--- a/make/copy_vcrt.lua
+++ b/make/copy_vcrt.lua
@@ -1,3 +1,6 @@
-local output = ...
+local output, arch = ...
local fs = require 'bee.filesystem'
-require 'msvc'.copy_vcrt('x64', fs.current_path() / output)
+require 'msvc'.copy_vcrt(
+ arch == "x86" and 'x86' or 'x64',
+ fs.current_path() / output
+)