diff options
Diffstat (limited to 'make')
-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 +) |