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