summaryrefslogtreecommitdiff
path: root/make/install.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-02 10:26:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-02 10:26:11 +0800
commitf7b60b523bfe92ae73776ce12e40a579a22738a9 (patch)
tree93f99215801f61e2fdda4cafe87d49f5fd3efb4d /make/install.lua
parenteb8777185879610ccf9a43ff04de9fdce46c5e19 (diff)
downloadlua-language-server-f7b60b523bfe92ae73776ce12e40a579a22738a9.zip
fix compile
Diffstat (limited to 'make/install.lua')
-rw-r--r--make/install.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/make/install.lua b/make/install.lua
index 5f95e462..c5723ded 100644
--- a/make/install.lua
+++ b/make/install.lua
@@ -13,3 +13,8 @@ fs.create_directories(output)
fs.copy_file(bindir / 'lpeglabel'..dll, output / 'lpeglabel'..dll, true)
fs.copy_file(bindir / 'bee'..dll, output / 'bee'..dll, true)
fs.copy_file(bindir / 'lua'..exe, output / 'lua-language-server'..exe, true)
+
+if platform == 'msvc' then
+ fs.copy_file(bindir / 'lua54'..dll, output / 'lua54'..dll, true)
+ require 'msvc'.copy_crtdll('x64', output)
+end