Respect -cpp flag for windows cross compile

This commit is contained in:
Tobiasz Laskowski
2024-12-18 14:44:45 +00:00
committed by Josh Tynjala
parent 988a0e836f
commit d2129bbd64
2 changed files with 2 additions and 2 deletions

View File

@@ -580,7 +580,7 @@ class WindowsPlatform extends PlatformTarget
System.copyFile(targetDirectory + "/obj/ApplicationMain" + (project.debug ? "-debug" : "") + ".exe", executablePath);
if (project.targetFlags.exists("mingw"))
if (project.defines.exists("mingw"))
{
var libraries = ["libwinpthread-1.dll", "libstdc++-6.dll"];
if (is64)