lib/ffi/gnu_extensions.rb in ffi-libfuse-0.0.1.rctest12 vs lib/ffi/gnu_extensions.rb in ffi-libfuse-0.1.0.rc20220550

- old
+ new

@@ -25,10 +25,10 @@ # # end module GNUExtensions if FFI::Platform::IS_GNU extend FFI::Library - ffi_lib 'libdl' + ffi_lib(%w[libdl.so libdl.so.2].flat_map { |l| [l, "#{FFI::Platform::NAME}-gnu/#{l}"] }) # @!method dlopen(library,type) # @return [FFI::Pointer] library address, possibly NULL attach_function :dlopen, %i[string int], :pointer # @!method dlvsym(handle)