Skip to content

Commit 78e63ec

Browse files
authored
Update build.jl to support aa64 macs (#212)
1 parent 1fccc75 commit 78e63ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deps/build.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ function find_matlab_libpath(matlab_root)
5050
matlab_libdir = if Sys.islinux()
5151
Sys.WORD_SIZE == 32 ? "glnx86" : "glnxa64"
5252
elseif Sys.isapple()
53-
Sys.WORD_SIZE == 32 ? "maci" : "maci64"
53+
archchar = Sys.ARCH == :aarch64 ? "a" : "i"
54+
Sys.WORD_SIZE == 32 ? "maci" : "mac" * archchar * "64"
5455
elseif Sys.iswindows()
5556
Sys.WORD_SIZE == 32 ? "win32" : "win64"
5657
end

0 commit comments

Comments
 (0)