diff --git a/lib/ffi-icu/lib.rb b/lib/ffi-icu/lib.rb index 0ac824d..7219401 100644 --- a/lib/ffi-icu/lib.rb +++ b/lib/ffi-icu/lib.rb @@ -50,8 +50,8 @@ def self.load_icu [find_lib("libicucore.#{FFI::Platform::LIBSUFFIX}")] end when :windows - [find_lib("icuuc??.#{FFI::Platform::LIBSUFFIX}"), - find_lib("icuin??.#{FFI::Platform::LIBSUFFIX}")] + [find_lib("{lib,}icuuc??.#{FFI::Platform::LIBSUFFIX}"), + find_lib("{lib,}icuin??.#{FFI::Platform::LIBSUFFIX}")] end lib_names&.compact!