lib/libmf.rb in libmf-0.2.0 vs lib/libmf.rb in libmf-0.2.1
- old
+ new
@@ -12,9 +12,11 @@
attr_accessor :ffi_lib
end
lib_name =
if Gem.win_platform?
"mf.dll"
+ elsif RbConfig::CONFIG["arch"] =~ /arm64-darwin/i
+ "libmf.arm64.dylib"
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
"libmf.dylib"
else
"libmf.so"
end