From 2d69ead3ca13cced1f104c7993357275432de61b Mon Sep 17 00:00:00 2001 From: Joao Matos Date: Tue, 1 Aug 2017 22:45:15 +0100 Subject: [PATCH] Fixed os.ishost check so we do not call is_64_bits_mono_runtime on Windows. --- build/Helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Helpers.lua b/build/Helpers.lua index 88d20544..29343406 100644 --- a/build/Helpers.lua +++ b/build/Helpers.lua @@ -22,7 +22,7 @@ function target_architecture() if explicit_target_architecture ~= nil then return explicit_target_architecture end - if os.istarget("windows") then return "x86" end + if os.ishost("windows") then return "x86" end return is_64_bits_mono_runtime() and "x64" or "x86" end