From 2759c9afa5c76d1e1408176c6226f62c09494f54 Mon Sep 17 00:00:00 2001 From: actboy168 Date: Wed, 15 Dec 2021 13:39:19 +0800 Subject: Update copy_vcrt.lua --- make/copy_vcrt.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'make') 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 +) -- cgit v1.2.3