Skip to content

Commit

Permalink
Update build.jl to support aa64 macs (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitsianis committed Jul 12, 2023
1 parent 1fccc75 commit 78e63ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ function find_matlab_libpath(matlab_root)
matlab_libdir = if Sys.islinux()
Sys.WORD_SIZE == 32 ? "glnx86" : "glnxa64"
elseif Sys.isapple()
Sys.WORD_SIZE == 32 ? "maci" : "maci64"
archchar = Sys.ARCH == :aarch64 ? "a" : "i"
Sys.WORD_SIZE == 32 ? "maci" : "mac" * archchar * "64"
elseif Sys.iswindows()
Sys.WORD_SIZE == 32 ? "win32" : "win64"
end
Expand Down

0 comments on commit 78e63ec

Please sign in to comment.