From 491d7d9d176f6baaa656d6126b358daf5b27d124 Mon Sep 17 00:00:00 2001 From: Kleis Auke Wolthuizen Date: Thu, 7 Mar 2024 10:53:03 +0100 Subject: [PATCH] Fix compat with shared Windows builds --- lib/vips.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vips.rb b/lib/vips.rb index 45c103d..3d55024 100644 --- a/lib/vips.rb +++ b/lib/vips.rb @@ -48,7 +48,7 @@ module Vips begin attach_function :g_malloc, [:size_t], :pointer @@is_unified = true - rescue => e + rescue FFI::NotFoundError @@is_unified = false end