Skip to content

Commit 2759c9a

Browse files
authored
Update copy_vcrt.lua
1 parent 5ba7453 commit 2759c9a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

make/copy_vcrt.lua

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
local output = ...
1+
local output, arch = ...
22
local fs = require 'bee.filesystem'
3-
require 'msvc'.copy_vcrt('x64', fs.current_path() / output)
3+
require 'msvc'.copy_vcrt(
4+
arch == "x86" and 'x86' or 'x64',
5+
fs.current_path() / output
6+
)

0 commit comments

Comments
 (0)