HaxeFoundation / hxcpp

Runtime files for c++ backend for haxe
Other
298 stars 189 forks source link

Set correct binDir variable #1029

Open tobil4sk opened 1 year ago

tobil4sk commented 1 year ago

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.