lib/blingfire.rb in blingfire-0.1.7 vs lib/blingfire.rb in blingfire-0.1.8
- old
+ new
@@ -13,16 +13,16 @@
end
lib_name =
if Gem.win_platform?
"blingfiretokdll.dll"
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
- if RbConfig::CONFIG["host_cpu"] =~ /arm/i
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
"libblingfiretokdll.arm64.dylib"
else
"libblingfiretokdll.dylib"
end
else
- if RbConfig::CONFIG["host_cpu"] =~ /aarch64/i
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
"libblingfiretokdll.arm64.so"
else
"libblingfiretokdll.so"
end
end