Skip to content

Commit ddfc2bb

Browse files
committed
Add static libiconv linking for gettext
1 parent 26ed39e commit ddfc2bb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/actions/universal-package/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ runs:
4848
# We also manually depend on GNU libiconv as Apple iconv is broken since macOS 14. This is necessary as MacVim
4949
# itself it built against it and we need both to match.
5050
sed -i.bak '/^[[:blank:]]*def install$/i\'$'\n depends_on "libiconv"\n' ${formula}.rb
51+
sed -i.bak '/^[[:blank:]]*def install$/a\'$'\n ENV["LIBS"] = "'$(brew --prefix)$'/opt/libiconv/lib/libiconv.a"\n' ${formula}.rb
5152
fi
5253
5354
# Homebrew requires formula files to be placed in taps and disallows

0 commit comments

Comments
 (0)