Respect -cpp flag for windows cross compile
This commit is contained in:
committed by
Josh Tynjala
parent
988a0e836f
commit
d2129bbd64
@@ -765,7 +765,7 @@ class HXProject extends Script
|
||||
defines.set("targetType", "cpp");
|
||||
defines.set("cpp", "1");
|
||||
}
|
||||
else if (target == Platform.WINDOWS && targetFlags.exists("mingw"))
|
||||
else if (target == Platform.WINDOWS && (targetFlags.exists("cpp") || targetFlags.exists("mingw")))
|
||||
{
|
||||
defines.set("targetType", "cpp");
|
||||
defines.set("cpp", "1");
|
||||
|
||||
Reference in New Issue
Block a user