dark-panda / gd2-ffij

The Ruby/GD2 interface using FFI bindings.
Other
19 stars 12 forks source link

ffi_lib() is called with empty string if libgd2 library not available in the system. #7

Closed dimir closed 11 years ago

dimir commented 11 years ago

If libgd2.so is not available ffi_lib() is called with empty string which results in ffi reporting error message:

Could not open library 'lib.so'

I think the call to ffi_lib() should not be made and instead an error message reporting that libgd2 library is missing should appear.

dark-panda commented 11 years ago

Fixed in ffi upstream, ffi/ffi#239.