lib/ethon/curl.rb in ethon-0.0.1 vs lib/ethon/curl.rb in ethon-0.0.2
- old
+ new
@@ -418,10 +418,10 @@
end
callback :callback, [:pointer, :size_t, :size_t, :pointer], :size_t
ffi_lib_flags :now, :global
- ffi_lib 'libcurl'
+ ffi_lib ['libcurl', 'libcurl.so.4']
attach_function :global_init, :curl_global_init, [:long], :int
attach_function :easy_init, :curl_easy_init, [], :pointer
attach_function :easy_cleanup, :curl_easy_cleanup, [:pointer], :void