Skip to content

Commit

Permalink
MacPlatform: find lime.hdll in Mac64 on ARM64 Mac because HashLink do…
Browse files Browse the repository at this point in the history
…esn't support x86_64 yet
  • Loading branch information
joshtynjala committed Jul 18, 2024
1 parent b95dac4 commit 745c178
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/platforms/MacPlatform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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" : "";
}

Expand Down

0 comments on commit 745c178

Please sign in to comment.