ci(release): link gettext include directory

Our previous mangling of gettext broke the `HAVE_WORKING_LIBINTL` test
because it prevented CMake from finding `libintl.h`. Let's fix that by
linking Gettext's `include` directory into `/usr/local` too.
This commit is contained in:
Carlo Cabrera 2022-06-29 01:03:42 +08:00
parent 4e402ae548
commit 7eaeb07c1c
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -108,6 +108,7 @@ jobs:
brew uninstall $(brew uses --installed --recursive gettext)
brew unlink gettext
ln -sf "$(brew --prefix)/opt/$(readlink "${GETTEXT_PREFIX}")/bin"/* /usr/local/bin/
ln -sf "$(brew --prefix)/opt/$(readlink "${GETTEXT_PREFIX}")/include"/* /usr/local/include/
rm -f "$GETTEXT_PREFIX"
- name: Build release
run: |