Use 32-bit on Neko for now, even for 64-bit Windows systems

This commit is contained in:
Joshua Granick
2018-07-28 16:58:08 -07:00
parent 51ae094660
commit 5962846dc2

View File

@@ -46,16 +46,6 @@ class WindowsPlatform extends PlatformTarget {
super (command, _project, targetFlags);
for (architecture in project.architectures) {
if (architecture == Architecture.X64) {
is64 = true;
}
}
if (project.targetFlags.exists ("uwp") || project.targetFlags.exists ("winjs")) {
targetType = "winjs";
@@ -86,6 +76,16 @@ class WindowsPlatform extends PlatformTarget {
}
for (architecture in project.architectures) {
if (targetType != "neko" && architecture == Architecture.X64) {
is64 = true;
}
}
targetDirectory = PathHelper.combine (project.app.path, project.config.getString ("windows.output-directory", targetType == "cpp" ? "windows" : targetType));
targetDirectory = StringTools.replace (targetDirectory, "arch64", is64 ? "64" : "");