Browse Source

Fixed os.ishost check so we do not call is_64_bits_mono_runtime on Windows.

pull/908/head
Joao Matos 8 years ago
parent
commit
2d69ead3ca
  1. 2
      build/Helpers.lua

2
build/Helpers.lua

@ -22,7 +22,7 @@ function target_architecture()
if explicit_target_architecture ~= nil then if explicit_target_architecture ~= nil then
return explicit_target_architecture return explicit_target_architecture
end 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" return is_64_bits_mono_runtime() and "x64" or "x86"
end end

Loading…
Cancel
Save