MacPlatform: find lime.hdll in Mac64 on ARM64 Mac because HashLink doesn't support x86_64 yet

This commit is contained in:
Josh Tynjala
2024-07-18 12:23:32 -07:00
parent b95dac4da3
commit 745c178908

View File

@@ -600,6 +600,11 @@ class MacPlatform extends PlatformTarget
private inline function get_dirSuffix():String
{
if (targetFlags.exists("hl"))
{
// hashlink doesn't support arm64 macs yet
return "64";
}
return targetArchitecture == X64 ? "64" : targetArchitecture == ARM64 ? "Arm64" : "";
}