hxcpp
hxcpp copied to clipboard
Set correct binDir variable
Looks like there are a few places where the arm64 architecture is not considered on Mac. For example:
https://github.com/HaxeFoundation/hxcpp/blob/3f6de84d4decb0a7aa1131ebd527f623b1e2d2b1/tools/hxcpp/BuildTool.hx#L1546 https://github.com/HaxeFoundation/hxcpp/blob/e23515d4acd43f3609e5ca49a8cebdad285db78d/tools/run/RunMain.hx#L99
Setting these should hopefully allow the correct binaries to be used, though it depends on whether the tools can be generated properly on Mac arm systems.