Skip to content

Commit

Permalink
mecab: ensure linkage to libiconv
Browse files Browse the repository at this point in the history
Fixes #171137.
  • Loading branch information
carlocab committed May 14, 2024
1 parent a0f82e9 commit 245badb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/m/mecab.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@ def post_install

test do
assert_equal "#{HOMEBREW_PREFIX}/lib/mecab/dic", shell_output("#{bin}/mecab-config --dicdir").chomp
return if OS.linux?

assert_includes (bin/"mecab").dynamically_linked_libraries, "/usr/lib/libiconv.2.dylib"
end
end

0 comments on commit 245badb

Please sign in to comment.