Skip to content

Commit b0b9825

Browse files
committed
[tools] Fix BINDIR for arm64 linux
1 parent 52a89a8 commit b0b9825

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/hxcpp/BuildTool.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,7 +2141,7 @@ class BuildTool
21412141
defines.set("HXCPP_ARM64","1");
21422142
m64 = true;
21432143
}
2144-
defines.set("BINDIR", m64 ? "Linux64":"Linux");
2144+
defines.set("BINDIR", arm64 ? "LinuxArm64" : m64 ? "Linux64":"Linux");
21452145
}
21462146
}
21472147
else if ( (new EReg("mac","i")).match(os) )
@@ -2154,7 +2154,7 @@ class BuildTool
21542154
defines.set("linux","linux");
21552155
defines.set("toolchain","linux");
21562156
defines.set("xcompile","1");
2157-
defines.set("BINDIR", m64 ? "Linux64":"Linux");
2157+
defines.set("BINDIR", arm64 ? "LinuxArm64" : m64 ? "Linux64":"Linux");
21582158
}
21592159
else
21602160
{

0 commit comments

Comments
 (0)