Skip to content

Commit

Permalink
Fix lint (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Mar 4, 2024
1 parent 0937574 commit 02f8e2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/vips.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ def library_name(name, abi_number)
# check if the GLib DLLs are available. If these can not be found, we
# assume that GLib is statically linked into libvips.
begin
lib = FFI::DynamicLibrary.open("lib#{name}-#{abi_number}.dll",
FFI::DynamicLibrary.open("lib#{name}-#{abi_number}.dll",
FFI::DynamicLibrary::RTLD_LAZY | FFI::DynamicLibrary::RTLD_LOCAL)
lib if lib

# LoadError for JRuby, RuntimeError for TruffleRuby
rescue LoadError, RuntimeError
Expand Down

0 comments on commit 02f8e2f

Please sign in to comment.