diff options
author | actboy168 <actboy168@gmail.com> | 2021-12-15 13:39:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-15 13:39:19 +0800 |
commit | 2759c9afa5c76d1e1408176c6226f62c09494f54 (patch) | |
tree | f466454fda777b993fea8d08ebb1c4b69ba65f1f | |
parent | 5ba74531b6b210960bcde45a958671712f8cb4cb (diff) | |
download | lua-language-server-2759c9afa5c76d1e1408176c6226f62c09494f54.zip |
Update copy_vcrt.lua
-rw-r--r-- | make/copy_vcrt.lua | 7 |
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 +) |