Fix 'Cannot find build target ""' error
This commit is contained in:
@@ -129,16 +129,16 @@ class LinuxPlatform extends PlatformTarget {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
var haxeArgs = [ hxml ];
|
var haxeArgs = [ hxml ];
|
||||||
|
var flags = [];
|
||||||
|
|
||||||
if (is64) {
|
if (is64) {
|
||||||
|
|
||||||
haxeArgs.push ("-D");
|
haxeArgs.push ("-D");
|
||||||
haxeArgs.push ("HXCPP_M64");
|
haxeArgs.push ("HXCPP_M64");
|
||||||
|
flags.push ("-DHXCPP_M64");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var flags = [ is64 ? "-DHXCPP_M64" : "" ];
|
|
||||||
|
|
||||||
if (!project.targetFlags.exists ("static")) {
|
if (!project.targetFlags.exists ("static")) {
|
||||||
|
|
||||||
ProcessHelper.runCommand ("", "haxe", haxeArgs);
|
ProcessHelper.runCommand ("", "haxe", haxeArgs);
|
||||||
|
|||||||
Reference in New Issue
Block a user