Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ARM64 value to hxp.HostArchitecture #29

Closed
tobil4sk opened this issue Mar 2, 2023 · 0 comments · Fixed by #30
Closed

Add ARM64 value to hxp.HostArchitecture #29

tobil4sk opened this issue Mar 2, 2023 · 0 comments · Fixed by #30

Comments

@tobil4sk
Copy link
Member

tobil4sk commented Mar 2, 2023

ARM64 should be added to hxp.HostArchitecture, and all usages should be updated accordingly:
https://github.com/openfl/hxp/search?q=HostArchitecture

Also need to update ndll paths for arm64 systems (MacArm64, LinuxArm64 etc):

hxp/src/hxp/Haxelib.hx

Lines 180 to 191 in d43052e

if (System.hostPlatform == WINDOWS)
{
directoryName = "Windows";
}
else if (System.hostPlatform == MAC)
{
directoryName = System.hostArchitecture == X64 ? "Mac64" : "Mac";
}
else
{
directoryName = System.hostArchitecture == X64 ? "Linux64" : "Linux";
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant