Skip to content

Commit

Permalink
Support icu naming conventions for msys2 on windows.
Browse files Browse the repository at this point in the history
Co-authored-by: Charlie Savage <cfis@zerista.com>
  • Loading branch information
Charlie Savage authored and erickguan committed Mar 29, 2024
1 parent 2d961a0 commit f8867b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ffi-icu/lib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit f8867b7

Please sign in to comment.