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 authored and joshtynjala committed Apr 9, 2024
1 parent 58d768e commit ff02a84
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 ff02a84

Please sign in to comment.