lib/libmf.rb in libmf-0.2.5 vs lib/libmf.rb in libmf-0.2.6
- old
+ new
@@ -14,16 +14,16 @@
end
lib_name =
if Gem.win_platform?
"mf.dll"
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
- if RbConfig::CONFIG["host_cpu"] =~ /arm/i
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
"libmf.arm64.dylib"
else
"libmf.dylib"
end
else
- if RbConfig::CONFIG["host_cpu"] =~ /aarch64/i
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
"libmf.arm64.so"
else
"libmf.so"
end
end