Skip to content

Commit 491d7d9

Browse files
committed
Fix compat with shared Windows builds
1 parent 2c55d8b commit 491d7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vips.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ module Vips
4848
begin
4949
attach_function :g_malloc, [:size_t], :pointer
5050
@@is_unified = true
51-
rescue => e
51+
rescue FFI::NotFoundError
5252
@@is_unified = false
5353
end
5454

0 commit comments

Comments
 (0)