From 988a0e836fcc4b8dd534c1437bf2883436d0ceb7 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Wed, 18 Dec 2024 14:40:24 +0000 Subject: [PATCH] Add missing neko target flag on cross compile Otherwise, we end up with a cpp build instead. For cross compiling with mingw, this breaks the build since no mingw flag is set. --- src/lime/tools/HXProject.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lime/tools/HXProject.hx b/src/lime/tools/HXProject.hx index 26e90bdee3..81a9d02634 100644 --- a/src/lime/tools/HXProject.hx +++ b/src/lime/tools/HXProject.hx @@ -773,6 +773,8 @@ class HXProject extends Script } else { + targetFlags.set("neko", "1"); + defines.set("targetType", "neko"); defines.set("neko", "1"); }