lib/osqp.rb in osqp-0.1.2 vs lib/osqp.rb in osqp-0.1.3
- old
+ new
@@ -13,10 +13,10 @@
end
lib_name =
if Gem.win_platform?
"libosqp.dll"
elsif RbConfig::CONFIG["host_os"] =~ /darwin/i
- if RbConfig::CONFIG["host_cpu"] =~ /arm/i
+ if RbConfig::CONFIG["host_cpu"] =~ /arm|aarch64/i
"libosqp.arm64.dylib"
else
"libosqp.dylib"
end
else