lib/libmf.rb in libmf-0.2.2 vs lib/libmf.rb in libmf-0.2.3

- old
+ new

@@ -19,10 +19,14 @@ "libmf.arm64.dylib" else "libmf.dylib" end else - "libmf.so" + if RbConfig::CONFIG["host_cpu"] =~ /aarch64/i + "libmf.arm64.so" + else + "libmf.so" + end end vendor_lib = File.expand_path("../vendor/#{lib_name}", __dir__) self.ffi_lib = [vendor_lib] # friendlier error message