lib/ffi-icu/lib.rb in ffi-icu-0.1.4 vs lib/ffi-icu/lib.rb in ffi-icu-0.1.5
- old
+ new
@@ -33,9 +33,12 @@
end
def self.load_icu
# First find the library
lib_names = case ICU.platform
+ when :bsd
+ [find_lib("libicui18n.#{FFI::Platform::LIBSUFFIX}.??"),
+ find_lib("libicutu.#{FFI::Platform::LIBSUFFIX}.??")]
when :osx
[find_lib("libicucore.#{FFI::Platform::LIBSUFFIX}")]
when :linux
[find_lib("libicui18n.#{FFI::Platform::LIBSUFFIX}.??"),
find_lib("libicutu.#{FFI::Platform::LIBSUFFIX}.??")]