Skip to content

Commit

Permalink
Fix ndll loader path for arm64 Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Jan 27, 2024
1 parent 58d768e commit 86f48b3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/Tools.hx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,14 @@ class Tools
// }

case MAC:
// untyped $loader.path = $array(path + "Mac/", $loader.path);
untyped $loader.path = $array(path + "Mac64/", $loader.path);
if (System.hostArchitecture == X64)
{
untyped $loader.path = $array(path + "Mac64/", $loader.path);
}
else if (System.hostArchitecture == ARM64)
{
untyped $loader.path = $array(path + "MacArm64/", $loader.path);
}

case LINUX:
var arguments = Sys.args();
Expand Down

0 comments on commit 86f48b3

Please sign in to comment.