Use 32-bit on Neko for now, even for 64-bit Windows systems
This commit is contained in:
@@ -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" : "");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user